salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.2k stars 365 forks source link

CEF initialization is very slow, with a wait time of more than 5 minutes #460

Closed babyluoyi closed 1 year ago

babyluoyi commented 1 year ago

Sometimes CEF initialization is not completed for more than 5 minutes. After closing, reopen the program, and it can run normally again, how to solve it?

windows 7 32bit. CPU:Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz 3.40 GHz Memory:16G libcef.dll:97.1.1.0

image
salvadordf commented 1 year ago

Hi,

This issue might be caused by some initialization code in other units. If your application has a complicated initialization try using a different EXE for the CEF subprocesses. See the SubProcess demo for all the details.

Read this forum thread for a similar problem with the same solution.

Please, use our forum for more questions.