fix(browser): remove stale lifetime coordinator call
This commit is contained in:
@@ -184,19 +184,8 @@ namespace Lskj.Main
|
||||
finally
|
||||
{
|
||||
if (_cefInitialized)
|
||||
{
|
||||
bool browsersClosed =
|
||||
CefBrowserRuntimeLifetime.CloseAllBrowsersAndWait(5000);
|
||||
if (browsersClosed)
|
||||
{
|
||||
CefRuntime.Shutdown();
|
||||
}
|
||||
else
|
||||
{
|
||||
LogHelper.Instance.WriteLog(
|
||||
"[CEF_LIFECYCLE] CefRuntime.Shutdown skipped " +
|
||||
"because browser close callbacks are incomplete.");
|
||||
}
|
||||
_cefInitialized = false;
|
||||
}
|
||||
_mainProcessInitialized = false;
|
||||
|
||||
Reference in New Issue
Block a user