Re: FreeLibrary function takes too long
Posted: Fri Apr 21, 2017 7:41 am
I did this test inside a virtual machine :
If you try to close the browser after you navigate to a website, it will take longer because CEF3 has to close the connections and free all the resources that it created loading that website.
If that's the case, hide your application from the task bar while it's closing.
- Compiled CEF4Delphi in "Release" mode.
- Compiled SimpleBrowser in "Release" mode.
- Closed Delphi.
- Made sure there was no windows update or antivirus running in the background.
- Run SimpleBrowser with the "Release" CEF3 binaries.
- Wait till the blank page is loaded by default.
- Close SimpleBrowser.
If you try to close the browser after you navigate to a website, it will take longer because CEF3 has to close the connections and free all the resources that it created loading that website.
If that's the case, hide your application from the task bar while it's closing.