The process was terminated due to an unhandled exception when am using cegflue in windows forms

76 views
Skip to first unread message

Sai Prasad

unread,
Apr 28, 2017, 6:26:59 AM4/28/17
to CefGlue
Dear Dmitry:

Am using cefglue in winforms and suddenly my program gets crash and below is the windows event log

Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: fad94e13-2a62-11e7-9f99-7845c4229477"
Error 4/26/2017 5:30:25 PM .NET Runtime 1026 None Application: WinFrmCef.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException
   at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
   at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
   at Xilium.CefGlue.WindowsForms.CefWebBrowser.InvokeIfRequired(System.Action)
   at Xilium.CefGlue.WindowsForms.CefWebLoadHandler.OnLoadingStateChange(Xilium.CefGlue.CefBrowser, Boolean, Boolean, Boolean)
   at Xilium.CefGlue.CefLoadHandler.on_loading_state_change(Xilium.CefGlue.Interop.cef_load_handler_t*, Xilium.CefGlue.Interop.cef_browser_t*, Int32, Int32, Int32)

Please help me to resolve the above issue.

Regards,
Sai Prasad B

Dmitry Azaraev

unread,
Apr 28, 2017, 7:13:38 AM4/28/17
to CefGlue

Hello.

Looks like OnLoadingStateChanged event try to call something on already disposed control. If this is expected codepath, you should check that object (control) disposed and do not touch it.


--
You received this message because you are subscribed to the Google Groups "CefGlue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages