Skip to content

Commit 1c479f2

Browse files
committed
🐛 Fix delayed pausing at startup
1 parent 4ce14c2 commit 1c479f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platforms/CLI-Emulator/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,13 @@ int main(int argc, const char *argv[]) {
337337
return 1;
338338
}
339339

340+
m->warduino = wac;
341+
340342
if (initiallyPaused) {
341343
wac->program_state = WARDUINOpause;
342344
}
343345

344346
if (m) {
345-
m->warduino = wac;
346-
347347
if (strcmp(mode, "proxy") == 0) {
348348
// Run in proxy mode
349349
wac->debugger->proxify();

0 commit comments

Comments
 (0)