Fixed issue #569. Multiple fixes to bugs in temporary directory cleaning code. Thanks to AlexAT.

This commit is contained in:
Salvador Díaz Fau
2025-09-17 16:05:21 +02:00
parent 435cfe8cae
commit 9533fc2257
4 changed files with 78 additions and 27 deletions
@@ -321,12 +321,14 @@ end;
procedure CreateGlobalCEFApp;
begin
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.cache := 'cache';
GlobalCEFApp.RootCache := 'RootCache';
GlobalCEFApp.EnablePrintPreview := True;
GlobalCEFApp.EnableGPU := True;
GlobalCEFApp.LogFile := 'debug.log';
GlobalCEFApp.LogSeverity := LOGSEVERITY_INFO;
GlobalCEFApp.UncaughtExceptionStackSize := 50;
//GlobalCEFApp.DeleteCache := True;
//GlobalCEFApp.DeleteCookies := True;
GlobalCEFApp.OnUncaughtException := GlobalCEFApp_OnUncaughtException;
end;