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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.
I've added TChromium to my application. Studied the examples and information on your website. Also adjusted my application dpr file as explained in the examples and on the website. It works very nice but the only issue I'm having is when my application is closed. After closing it pops up again and then after a few second it closes definitely.
Debugged it and it pops up again when it hits cef_shutdown. After this step continues (a few seconds) the application closes definitely. Quite annoying so I must be doing something wrong. Any idea?
procedure TCefApplicationCore.ShutDown;
begin
try
if (FStatus = asInitialized) then
begin
FStatus := asShuttingDown;
cef_shutdown();
end;
except
on e : exception do
if CustomExceptionHandler('TCefApplicationCore.ShutDown', e) then raise;
end;
end;
Thanks for your reply. It was my fault. Hmm... I removed the 'if GlobalCEFApp.StartMainProcess then' part. Wanted to be sure that the application would always start but it created the issue I was having.