There's a race condition when WorkerContext shuts down, because the WorkerThread object can get freed before the WorkerContext constructor finishes executing. We need to update the code to make sure we don't access the m_thread after calling workerContextDestroyed() because the pointer may not be valid.
Created attachment 33472 [details] Fix for flaky tests Worker tests are slightly flaky after my earlier patch - this addresses that problem.
Landed: http://trac.webkit.org/changeset/46376