Hello,
I also get the exactly same behaviour sometimes, never knew how to fix it.
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.
Seldom error before closing application
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Seldom error before closing application
I'll take a look as soon as I can.
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Seldom error before closing application
No, i use the VCL version.Winexcel wrote: Thu Mar 15, 2018 3:22 pmDo you also use the FMX platform?thefunkyjoint wrote: Thu Mar 15, 2018 12:48 pm Hello,
I also get the exactly same behaviour sometimes, never knew how to fix it.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Seldom error before closing application
While I try to find the cause of this issue please check the following :
- If your app don't use a 'cache' directory set GlobalCEFApp.DisableGPUCache to TRUE.
- Don't modify VCL properties inside TChromium events because most of those events are executed in a CEF thread and some VCL properties are not thread safe. It's recommended that you use 'PostMessage' to send a message to the main form to modify the VCL in the main application thread.
- If you see that error then close your app and delete the cache contents if you use a 'cache'.
- Some properties are considered 'experimental' by Google like : GlobalCEFApp.SmoothScrolling, GlobalCEFApp.SitePerProcess, GlobalCEFApp.FastUnload and TChromium.HyperlinkAuditing. Using these properties might cause problems.
- If your app doesn't need Flash, set GlobalCEFApp.FlashEnabled to FALSE.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Seldom error before closing application
I just updated CEF4Delphi and removed the GlobalCEFApp.DisableGPUCache property.
Now GlobalCEFApp disables the GPU cache automatically if there's no 'cache' directory.
Now GlobalCEFApp disables the GPU cache automatically if there's no 'cache' directory.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Seldom error before closing application
I've created an issue in GitHub for this bug :
https://github.com/salvadordf/CEF4Delphi/issues/108
https://github.com/salvadordf/CEF4Delphi/issues/108