Page 1 of 1
Re: Seldom error before closing application
Posted: Thu Mar 15, 2018 12:48 pm
by thefunkyjoint
Hello,
I also get the exactly same behaviour sometimes, never knew how to fix it.
Re: Seldom error before closing application
Posted: Thu Mar 15, 2018 1:18 pm
by salvadordf
I'll take a look as soon as I can.
Re: Seldom error before closing application
Posted: Fri Mar 16, 2018 2:28 pm
by thefunkyjoint
Winexcel wrote: Thu Mar 15, 2018 3:22 pm
thefunkyjoint wrote: Thu Mar 15, 2018 12:48 pm
Hello,
I also get the exactly same behaviour sometimes, never knew how to fix it.
Do you also use the FMX platform?
No, i use the VCL version.
Re: Seldom error before closing application
Posted: Sat Mar 17, 2018 9:46 am
by salvadordf
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.
Re: Seldom error before closing application
Posted: Sat Mar 17, 2018 10:21 am
by salvadordf
I just updated CEF4Delphi and removed the GlobalCEFApp.DisableGPUCache property.
Now GlobalCEFApp disables the GPU cache automatically if there's no 'cache' directory.
Re: Seldom error before closing application
Posted: Sat Mar 24, 2018 10:11 am
by salvadordf