diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index 727cfb49134a50bc89ebcddd94b34b287edc3b87..4e4159cefb659daaffe64da7ff6de08b791c3da7 100644 --- a/src/core/web_engine_context.cpp +++ b/src/core/web_engine_context.cpp @@ -153,6 +153,7 @@ void WebEngineContext::destroy() // Flush the UI message loop before quitting. while (delegate->DoWork()) { } GLContextHelper::destroy(); + m_devtools.reset(0); m_runLoop->AfterRun(); // Force to destroy RenderProcessHostImpl by destroying BrowserMainRunner.