Delay WebProcess launch until a load is triggered in a Web view
[WebKit-https.git] / Source / WebKit / UIProcess / WebFrameProxy.cpp
index 4dfe1c3..7bb86b1 100644 (file)
@@ -99,7 +99,7 @@ void WebFrameProxy::stopLoading() const
     if (!m_page)
         return;
 
-    if (!m_page->isValid())
+    if (!m_page->hasRunningProcess())
         return;
 
     m_page->process().send(Messages::WebPage::StopLoadingFrame(m_frameID), m_page->pageID());