Page 1 of 1

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

Posted: Mon Feb 05, 2018 2:33 pm
by salvadordf
Thanks for reporting the error!

This seems to be one of those elusive bugs that only show up in some occasions.

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

Posted: Tue Feb 06, 2018 7:47 am
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 ?

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

Posted: Sat Feb 10, 2018 6:02 pm
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.