protected internal override void FreeBuffer(ByteBuffer buffer) { // .NET port: this should free the memory mapped view accessor var mmfbb = buffer as MemoryMappedFileByteBuffer; if (mmfbb != null) mmfbb.Dispose(); /* if (UseUnmapHack) { try { AccessController.doPrivileged(new PrivilegedExceptionActionAnonymousInnerClassHelper(this, buffer)); } catch (PrivilegedActionException e) { System.IO.IOException ioe = new System.IO.IOException("unable to unmap the mapped buffer"); ioe.initCause(e.InnerException); throw ioe; } }*/ }