cef_shutdown() and TDBGrid bug
Posted: Mon Nov 21, 2022 1:44 pm
Hi -
I am using delphi 10.4 with CEF4Delphi CEF 107.1.11 and I have an issue with a delay (about 10 seconds) when closing my application. I also noticed that I had no such delay when running the SimpleBrowser example project that comes with CEF4Delphi. After some destructive testing I found the cause. It appears that if your application makes use of TDBGrid, you will experience this delay in closing the program. This is also true of components derived from TDBGrid AFAIK (as I used the TvjDBGrid as a test.)
I have uploaded a version of the simpleBrowser2 application with a DBGrid added to demonstrate this bug. ANy feedback / workaround(s) would be much appreciated as it means I cannot use this component atm. Here is a link to the demo with bug :
https://www.synapsesoftware.co.uk/test/SimpleBrowserDBGridBug.zip
Many thanks..
Dave
I am using delphi 10.4 with CEF4Delphi CEF 107.1.11 and I have an issue with a delay (about 10 seconds) when closing my application. I also noticed that I had no such delay when running the SimpleBrowser example project that comes with CEF4Delphi. After some destructive testing I found the cause. It appears that if your application makes use of TDBGrid, you will experience this delay in closing the program. This is also true of components derived from TDBGrid AFAIK (as I used the TvjDBGrid as a test.)
I have uploaded a version of the simpleBrowser2 application with a DBGrid added to demonstrate this bug. ANy feedback / workaround(s) would be much appreciated as it means I cannot use this component atm. Here is a link to the demo with bug :
https://www.synapsesoftware.co.uk/test/SimpleBrowserDBGridBug.zip
Many thanks..
Dave