If a worker is asked to terminate, and then its object gets destroyed, WorkerThread::stop() can be called during thread destruction.
Created attachment 25557 [details] proposed fix
Committed revision 38821.