Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

SchemeRegistrationBrowser demo crashing with CEF4Delphi cef_binary_3.3282.1731.gfc9a4fa

Post Reply
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: SchemeRegistrationBrowser demo crashing with CEF4Delphi cef_binary_3.3282.1731.gfc9a4fa

Post by salvadordf »

Thanks for reporting the error!

This seems to be one of those elusive bugs that only show up in some occasions.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: SchemeRegistrationBrowser demo crashing with CEF4Delphi cef_binary_3.3282.1731.gfc9a4fa

Post by salvadordf »

I tested that demo in Windows 7 inside VirtualBox about 15 times and I saw that error once.
Then I tested almost all the demos in Windows 7 outside VirtualBox and I saw that error once after 50-60 tests approximately.

What Delphi and Windows version are you using ?
Do you see that error in other demos ?
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: SchemeRegistrationBrowser demo crashing with CEF4Delphi cef_binary_3.3282.1731.gfc9a4fa

Post by salvadordf »

I just updated CEF4Delphi to destroy some handlers before shutting down and I also added an optional function to wait for the child processes before shutting down.

GlobalCEFApp.WaitForChildProcesses is true by default and this will force your app to wait for the child processes before GlobalCEFApp is fully destroyed.
GlobalCEFApp.WaitTime is the time (milliseconds) that GlobalCEFApp will wait. By default it waits up to 5 seconds.

Please, download CEF4Delphi again and test SchemeRegistrationBrowser.

Make sure to use the Release CEF binaries and not the debug binaries because they could cause the crashes you comment.
Post Reply