The function 'OnBeforeClose' is never called before 'CefShutDown' called, even if it sleeps for 60 seconds.The
Error message: [0105/101754.905:FATAL:shutdown_checker.cc(52)] Check failed: !IsCefShutdown(). Object reference incorrectly held at CefShutdown
call stack:
libcef.dll!logging::LogMessage::~LogMessage() Line 873 C++
libcef.dll!logging::LogMessage::~LogMessage() Line 549 C++
libcef.dll!logging::CheckError::~CheckError() Line 105 C++
> libcef.dll!shutdown_checker::AssertNotShutdown() Line 54 C++
libcef.dll!CefLifeSpanHandlerCToCpp::OnBeforeClose(scoped_refptr<CefBrowser> browser) Line 150 C++
libcef.dll!CefBrowserHostBase::OnBeforeClose() Line 763 C++
libcef.dll!AlloyBrowserHostImpl::DestroyBrowser() Line 840 C++
libcef.dll!CefBrowserInfoManager::DestroyAllBrowsers() Line 347 C++
libcef.dll!CefContext::ShutdownOnUIThread() Line 484 C++
libcef.dll!base::OnceCallback<void ()>::Run() Line 100 C++
libcef.dll!CefMainRunner::FinishShutdownOnUIThread(base::OnceCallback<void ()> shutdown_on_ui_thread, base::WaitableEvent * uithread_shutdown_event) Line 486 C++