diff --git a/webapp/src/app.tsx b/webapp/src/app.tsx index fdea903bd67..0385ee3f073 100644 --- a/webapp/src/app.tsx +++ b/webapp/src/app.tsx @@ -3755,8 +3755,10 @@ export class ProjectView this.clearSerial(); // Not this.restartSimulator; need full restart to consistently update visuals, // and don't want to steal focus. - this.stopSimulator(); - this.startSimulator(); + if (this.isSimulatorRunning()) { + this.stopSimulator(); + this.startSimulator(); + } const highContrast = this.getData(auth.HIGHCONTRAST); const bodyIsHighContrast = document.body.classList.contains("high-contrast");