Clean up usesAsyncCallbacks handling in ResourceHandle
[WebKit-https.git] / Source / WebKit2 / NetworkProcess / NetworkResourceLoader.cpp
index bb73bdb..3c7206a 100644 (file)
@@ -205,7 +205,7 @@ void NetworkResourceLoader::cleanup()
     invalidateSandboxExtensions();
 
     if (m_handle) {
-        m_handle->setClient(nullptr);
+        m_handle->clearClient();
         m_handle = nullptr;
     }