Fix JKRDecomp crash I caused

By changing more things :sloggers:
This commit is contained in:
PJB3005
2026-04-08 13:30:50 +02:00
parent 4ed0909085
commit 9d3877e448
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ struct PCThreadData {
bool suspended = false;
~PCThreadData() {
if (dusk::IsShuttingDown) {
if (dusk::IsShuttingDown && nativeThread.joinable()) {
// Don't care about threads if we're shutting down.
nativeThread.detach();
}