public static void UnRegisterNativePart(INativeRef proxyObj) { if (proxyObj.HasNativeSide) { ReleaseWrapper(proxyObj.UnmanagedPtr); proxyObj.SetUnmanagedPtr(IntPtr.Zero); } } //public static int GetManagedIndexFromNativePart(INativeRef proxyObj)
public void Dispose() { int j = nativeRefList.Count; for (int i = nativeRefList.Count - 1; i > -1; --i) { NativeV8JsInterOp.UnRegisterNativePart(nativeRefList[i]); } nativeRefList.Clear(); }