CefRunMessageLoop crash

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

CefRunMessageLoop crash

Postby notepadexe » Thu Mar 29, 2018 8:02 pm

CefRunMessageLoop keeps returning early and causing an access violation on the cefshutdown directly after it

it will only happen if i drag around on the empty browser areas and start clicking quickly as well. will not happen if i click on actual html controls on the browser view...
notepadexe
Techie
 
Posts: 16
Joined: Mon Feb 19, 2018 3:13 pm

Re: CefRunMessageLoop crash

Postby magreenblatt » Thu Mar 29, 2018 10:14 pm

You need to wait for OnBeforeClose on all browsers before calling CefQuitMessageLoop.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: CefRunMessageLoop crash

Postby notepadexe » Fri Mar 30, 2018 7:18 am

thank you very much. i added the override and solved it
notepadexe
Techie
 
Posts: 16
Joined: Mon Feb 19, 2018 3:13 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 22 guests