@@ -3,6 +3,7 @@
Bugfixes:
jvm : fixed equality checks for `Null<Float>` and `Null<Int>` (#9897)
+ hl : fixed crash if a thread finishes without invoking `sendMessage`/`readMessage` (#9920)
2020-09-11 4.1.4:
@@ -69,6 +69,8 @@ abstract Thread(ThreadHandle) from ThreadHandle to ThreadHandle {
}
static inline function dropThread(handle:ThreadHandle) {
+ if( queue_mutex == null )
+ return;
queue_mutex.acquire();
for (i => tq in threads_queues) {
if (tq.t == handle) {