internal override void OnDispose(IntPtr nativePtr) { if (m_OnFindResult != null) { m_OnFindResult = null; CfxApi.FindHandler.cfx_find_handler_set_callback(NativePtr, 0, IntPtr.Zero); } base.OnDispose(nativePtr); }
internal override void OnDispose(IntPtr nativePtr) { if(m_OnFindResult != null) { m_OnFindResult = null; CfxApi.cfx_find_handler_set_managed_callback(NativePtr, 0, IntPtr.Zero); } base.OnDispose(nativePtr); }