Fixes: Another race condition on queue destruction
authorMathias Hasselmann <mathias@openismus.com>
Fri, 27 May 2011 10:01:17 +0000 (12:01 +0200)
committerMathias Hasselmann <mathias@openismus.com>
Fri, 27 May 2011 10:01:17 +0000 (12:01 +0200)
commitefe93a66a98195d98f8072097ca014e3e99ef6e6
treef77b72bf74431c2551e6bfd1fae3296a0fba45fc
parenta91672bfafb2c1e1168cdcb3cefc69460d5fee72
Fixes: Another race condition on queue destruction

RevBy: Friedrich
Details: Prevent that the currently active task emits finish() and therefore
quits the background thread before we got the chance to request deletion of the
still queued tasks.
src/engine/queue.cpp