These are the code comments about cef_quit_message_loop and cef_run_message_loop in /include/capi/cef_app_capi.h
Code: Select all
///
// Run the CEF message loop. Use this function instead of an application-
// provided message loop to get the best balance between performance and CPU
// usage. This function should only be called on the main application thread and
// only if cef_initialize() is called with a
// CefSettings.multi_threaded_message_loop value of false (0). This function
// will block until a quit message is received by the system.
///
CEF_EXPORT void cef_run_message_loop();
///
// Quit the CEF message loop that was started by calling cef_run_message_loop().
// This function should only be called on the main application thread and only
// if cef_run_message_loop() was used.
///
CEF_EXPORT void cef_quit_message_loop();
The problems described in this thread about the browser destruction were fixed by later CEF4Delphi updates.
Please download the latest CEF4Delphi version from the repository :
https://github.com/salvadordf/CEF4Delphi