private adl_release_platform ( IntPtr handle ) : int | ||
handle | IntPtr | |
Résultat | int |
// ===================================================================== /// <summary> /// Releases the platform resources. /// </summary> public static void release() { /* dispose the platform */ if (_platformHandle == IntPtr.Zero) { return; } // notify service that the platform was disposed so all dangling // references does not crash. ((CloudeoServiceImpl)_service).platformDisposed(); NativeAPI.adl_release_platform(_platformHandle); _platformHandle = IntPtr.Zero; // release the service to deallocate it. _service = null; }