I have an application that uses VCL forms from a DLL. On one of the forms I put TChromium from DelphiChromiumEmbedded. The problem is: when I unload my DLL (the form is destroyed), the application freezes without any errors or AV files. I found some answer - commented // cef _shutdown in lib_cef.pas. In this way, the form was successfully destroyed, but I have a big memory leak. When using any other components that create a form from a DLL, the destruction and unloading of the DLL is successful.
How can I normally unload DLLs with a form using the TChromium component?
source
share