Skip to content

Commit 48e0915

Browse files
authored
🐛 Do not join non-existent thread (#222)
1 parent 7437dc9 commit 48e0915

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

platforms/CLI-Emulator/main.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,9 @@ int main(int argc, const char *argv[]) {
412412
wac->unload_module(m);
413413
wac->debugger->stop();
414414

415-
communication.join();
415+
if (!no_debug) {
416+
communication.join();
417+
}
416418
}
417419

418420
return 0;

0 commit comments

Comments
 (0)