Re: Not closed Chrome_IOThread, CrBrowserMain, etc...
Posted: Mon Dec 03, 2018 9:53 pm
GlobalCEFApp needs to be initialized differently.
Most of the demos call GlobalCEFApp.StartMainProcess in the DPR file because they use the same EXE for all the subprocesses. In that case, GlobalCEFApp.StartMainProcess is the condition in a "if..then" clause because "Application.Run" should only be called once.
If your app can't modify the DPR file then you must configure GlobalCEFApp to use a different EXE for the subproceses.
Most of the demos call GlobalCEFApp.StartMainProcess in the DPR file because they use the same EXE for all the subprocesses. In that case, GlobalCEFApp.StartMainProcess is the condition in a "if..then" clause because "Application.Run" should only be called once.
If your app can't modify the DPR file then you must configure GlobalCEFApp to use a different EXE for the subproceses.