[Webkit-unassigned] [Bug 25902] Need to implement WorkerContext.close()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 26 11:01:52 PDT 2009


------- Comment #4 from atwilson at google.com  2009-05-26 11:01 PDT -------
I'll add the requested tests.

I'm not certain that there's a race condition - the reason is that the event
queue for the worker (WorkerRunLoop) is associated with the WorkerThread, not
with the WorkerContext. So you can still safely invoke
m_workerThread->runLoop().postTask() from postMessageToWorkerContext() even
after the WorkerContext itself has gone away. There also should be no leak, as
once the WorkerThread is freed, the WorkerRunLoop and any events left on the
queue will also be freed (note that the MessageQueue may have some items left
on it anyway, since MessageQueue::kill doesn't empty the queue).

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list