From 2b87b8c5a868c66ef34fb729dbd3c3da0ab6e28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Isager=20Dalsgar=C3=B0?= Date: Thu, 14 Mar 2024 09:39:00 +0100 Subject: [PATCH] Fix `thread.joined` --- src/thread.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.js b/src/thread.js index 709589c4..967cdc9d 100644 --- a/src/thread.js +++ b/src/thread.js @@ -38,7 +38,7 @@ module.exports = exports = class Thread { } get joined () { - return this._handle !== null + return this._handle === null } join () {