Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index e662c64ee0528503f9b5aa773fdaf6b907226ac8..4656870c806cd9351ea51af8c798d80f69a236fc 100644 |
--- a/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/Source/core/workers/WorkerGlobalScope.cpp |
@@ -221,6 +221,8 @@ void WorkerGlobalScope::dispose() |
// being carried out on the right thread. We therefore cannot clear |
// the thread field before all references to the worker global |
// scope are gone. |
+ |
+ ExecutionContext::contextDestroyed(); |
} |
void WorkerGlobalScope::didEvaluateWorkerScript() |