Index: Source/core/workers/WorkerMessagingProxy.cpp |
diff --git a/Source/core/workers/WorkerMessagingProxy.cpp b/Source/core/workers/WorkerMessagingProxy.cpp |
index 228b63f2c06ab3701369fcccec7e8befc0ea8e05..9f62b98f22d51e2877f99b6a5e5ff8f6bbd78bab 100644 |
--- a/Source/core/workers/WorkerMessagingProxy.cpp |
+++ b/Source/core/workers/WorkerMessagingProxy.cpp |
@@ -202,7 +202,7 @@ void WorkerMessagingProxy::workerThreadCreated(PassRefPtr<WorkerThread> workerTh |
void WorkerMessagingProxy::workerObjectDestroyed() |
{ |
- m_workerObject = nullptr; |
+ ASSERT(!m_workerObject); |
sof
2015/08/14 05:06:57
Spelling it out why it must be so would be a usefu
peria
2015/08/14 05:23:10
Done.
|
m_executionContext->postTask(FROM_HERE, createCrossThreadTask(&WorkerMessagingProxy::workerObjectDestroyedInternal, this)); |
} |