Replies: 1 comment
-
Disposing of the callbacks is recommended and should be done where possible.
Hopefully, please test with version 90 and confirm. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I get a random crash at my code. I can't reproduce it.
here is the stack trace:
System.NullReferenceException: Object reference not set to an instance of an object.\r\n at CefSharp.Internals.ClientAdapter.GetBrowserWrapper(ClientAdapter* , Int32 browserId)\r\n at CefSharp.ManagedCefBrowserAdapter.GetBrowser(Int32 browserId)\r\n at CefSharp.Internals.JavascriptCallbackProxy.GetBrowser()\r\n at CefSharp.Internals.JavascriptCallbackProxy.!JavascriptCallbackProxy()\r\n at CefSharp.Internals.JavascriptCallbackProxy.Dispose(Boolean A_0)\r\n at CefSharp.Internals.JavascriptCallbackProxy.Finalize()"}
My best guess was that something in the GC phase depends on timings (I currently don't call "Dispose" for anything on myself).
I can see this commit from 3 days ago:
1850f3e#diff-d3fca5475de320e364b0d3c39e37042ff5a271d60a9ce1dfb1ba08f9d0fa2b49
(by @amaitland )
Should that fix my issue?
Beta Was this translation helpful? Give feedback.
All reactions