Apply suggestions

This commit is contained in:
Chi Vinh Le
2018-07-13 16:07:51 -03:00
parent 07b910d7a3
commit 27334c7bd1
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -50,12 +50,12 @@ export default class LongRunningExecutor implements Executor {
});
}
private async restart(): Promise<void> {
private restart() {
this.shouldRestart = true;
return this.internalKill();
}
private async kill(): Promise<void> {
private kill() {
this.shouldRestart = false;
return this.internalKill();
}