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.5.251117-542184cb2a0ea61cfe667a6bfacadf83c6adbe4d
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