<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - WorkQueueGeneric's platformInvalidate() can deadlock when called on the RunLoop's thread"
href="https://bugs.webkit.org/show_bug.cgi?id=166645#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - WorkQueueGeneric's platformInvalidate() can deadlock when called on the RunLoop's thread"
href="https://bugs.webkit.org/show_bug.cgi?id=166645">bug 166645</a>
from <span class="vcard"><a class="email" href="mailto:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>I think we can get rid of the terminate condition/mutex. It's ok to detach a running thread, and platformInvalidate is called from the destructor, so we don't need to protect the m_runLoop. Tasks take their own reference so it's not possible to have pending tasks at the point either.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>