From dae33c0c1a2965f76e33bdd4f216c440ca23d80b Mon Sep 17 00:00:00 2001 From: Joseph Cloutier Date: Fri, 9 Aug 2024 15:11:50 -0400 Subject: [PATCH] Bug fix: new job could be ignored if it arrived with precise timing. --- src/lime/system/ThreadPool.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lime/system/ThreadPool.hx b/src/lime/system/ThreadPool.hx index 7fd6561b9..4a3bae7ef 100644 --- a/src/lime/system/ThreadPool.hx +++ b/src/lime/system/ThreadPool.hx @@ -438,7 +438,7 @@ class ThreadPool extends WorkOutput if (interruption == null || output.__jobComplete.value) { // Work is done; wait for more. - event = null; + event = interruption; } else if(#if (haxe_ver >= 4.2) Std.isOfType #else Std.is #end (interruption, ThreadEvent)) {