Skip to content

Commit 2a950b3

Browse files
committed
Don't join the debugger thread, it will be killed automatically when exiting the process
This should resolve WARDuino waiting forever when an exception occurs.
1 parent d482452 commit 2a950b3

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

platforms/CLI-Emulator/main.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -573,11 +573,8 @@ int main(int argc, const char *argv[]) {
573573
for (auto mod : loaded_modules) {
574574
wac->unload_module(mod);
575575
}
576+
// Stop the debugger, the thread will be killed when the process exits.
576577
wac->debugger->stop();
577-
578-
if (!no_debug) {
579-
communication.join();
580-
}
581578
}
582579

583580
return 0;

0 commit comments

Comments
 (0)