Also, just in case, we need to implement CefBrowserProcessHandler::OnAlreadyRunningAppRelaunch, for the case the multiple instances uses the same path for CefSettings.root_cache_path.
(If CefSettings.root_cache_path is unique, CefBrowserProcessHandler::OnAlreadyRunningAppRelaunch will be never called, so this is "just in case".)
Because of this, if we use CEF 120+ for the current Chronos and execute multiple Chronos instances, Chronos instances after the second one don't work fine, the windows of them are never rendered.
Since CEF120, we should specify unique
CefSettings.root_cache_path
per instances.https://magpcss.org/ceforum/viewtopic.php?f=6&t=19677&p=54689&hilit=OnAlreadyRunningAppRelaunch#p54689
Also, just in case, we need to implement CefBrowserProcessHandler::OnAlreadyRunningAppRelaunch, for the case the multiple instances uses the same path for
CefSettings.root_cache_path
. (IfCefSettings.root_cache_path
is unique,CefBrowserProcessHandler::OnAlreadyRunningAppRelaunch
will be never called, so this is "just in case".)Because of this, if we use CEF 120+ for the current Chronos and execute multiple Chronos instances, Chronos instances after the second one don't work fine, the windows of them are never rendered.