Click or drag to resize

JCOBridgeDirectBufferTDispose Method

Execute Dispose activities releasing the underlying .NET memory pinned when the JCOBridgeDirectBufferT was requested

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.4.250922-152ba6ff9edce5bce8e7bf5a86e1098f7e200363
Syntax
public void Dispose()

Implements

IDisposableDispose
Remarks
This method removes the underlying memory and if there are operations in the JVM which needs the memory it is possible to encounter some ACCESS VIOLATIONS. Use this method, or a using clause, only if it is completely clear the risks; otherwise leave the task to the .NET GC which will execute a correct clean-up waiting for JVM that ends usage of the memory
See Also