Commit b44c6680 authored by rswindell's avatar rswindell
Browse files

Fix bug introduced in previous commit (rev 1.402) of this file:

The js_finalize_queue() is eventually called when garbage is collected and
js_finalize_queue() calls msgQueueDetach(), so bg-load()s did not "leak"
semaphores and this "fix" actually introduced a problem where the queue was
detached too many times, leaving the ref count 0 while there was actually
a lingering reference (in the parent), leading to a crash as reported by echto
(thanks, echto!).
parent 8d9090c4
......@@ -151,7 +151,6 @@ static void background_thread(void* arg)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment