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.8.260410-ed5cc0c79218460f1e6b936e4bd65778f0bb23e9
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