Short circuit endless respawn

This commit is contained in:
Chi Vinh Le
2018-07-13 19:39:15 -03:00
parent 34ddd2ea0b
commit 70ccd646ff
2 changed files with 11 additions and 4 deletions
+1
View File
@@ -45,6 +45,7 @@ export default class LongRunningExecutor implements Executor {
return;
}
if (this.shouldRestart) {
this.shouldRestart = false;
this.spawnProcess();
}
});