ASSERTION FAILED: m_scriptExecutionContext->isContextThread() seen with LayoutTest...
[WebKit-https.git] / Source / WebCore / workers / WorkerGlobalScope.cpp
index 5d1af83..df3531b 100644 (file)
@@ -101,6 +101,8 @@ WorkerGlobalScope::~WorkerGlobalScope()
     m_performance = nullptr;
 #endif
 
+    m_crypto = nullptr;
+
     // Notify proxy that we are going away. This can free the WorkerThread object, so do not access it after this.
     thread().workerReportingProxy().workerGlobalScopeDestroyed();
 }