Faced a crash of CEF4Delphi when closing an app - 0xE0000008 kernelbase.dll.
To demonstrate the bug, I took CEF4Delphi\demos\CustomResourceBrowser and added thread with the following code
Code: Select all
tm := GetTickCount;
while not Terminated do
begin
if GetTickCount - tm > 15000 then
begin
//MainForm.Close;
Synchronize(Close);
exit;
end;
Sleep(300);
end;
The question is - am I closing CEF4 correctly? Could the problem be due to the fact that all running programs from different directories have some common global objects?
Thanks!