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.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
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