Index: Source/core/workers/WorkerThread.cpp |
diff --git a/Source/core/workers/WorkerThread.cpp b/Source/core/workers/WorkerThread.cpp |
index 988256e367b9a256b1245ff2fdac409fb9aa786d..d21a6c6c4d4d062793166c9034f88de64471dd07 100644 |
--- a/Source/core/workers/WorkerThread.cpp |
+++ b/Source/core/workers/WorkerThread.cpp |
@@ -403,7 +403,6 @@ void WorkerThread::stopInternal() |
// Ensure that tasks are being handled by thread event loop. If script execution weren't forbidden, a while(1) loop in JS could keep the thread alive forever. |
m_workerGlobalScope->script()->scheduleExecutionTermination(); |
- m_workerGlobalScope->wasRequestedToTerminate(); |
InspectorInstrumentation::didKillAllExecutionContextTasks(m_workerGlobalScope.get()); |
m_debuggerMessageQueue.kill(); |
postTask(WorkerThreadShutdownStartTask::create()); |