Skip to content

Commit ec27341

Browse files
Consistently avoid showing stopped state.
1 parent fa3c932 commit ec27341

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/board/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,12 +460,16 @@ export class Board {
460460
clearTimeout(this.panicTimeout);
461461
this.panicTimeout = null;
462462
this.display.clear();
463-
this.displayStoppedState();
463+
if (!brief) {
464+
this.displayStoppedState();
465+
}
464466
}
465467
if (this.pendingRestart) {
466468
clearTimeout(this.pendingRestart);
467469
this.pendingRestart = null;
468-
this.displayStoppedState();
470+
if (!brief) {
471+
this.displayStoppedState();
472+
}
469473
}
470474
if (this.modulePromise) {
471475
this.stopKind = brief ? StopKind.BriefStop : StopKind.UserStop;

0 commit comments

Comments
 (0)