Skip to content

Commit

Permalink
Removing redundent watchdog
Browse files Browse the repository at this point in the history
  • Loading branch information
daonb committed Aug 22, 2024
1 parent f1348ed commit 4dd25b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ export class Shell {
if (terminal7.recovering) {
terminal7.log("retrying...")
// TODO: keep the watchodg at terminal7
this.startWatchdog().catch(() => gate.onFailure(Failure.TimedOut) )
try {
await gate.reconnect()
} catch (e) {
Expand All @@ -506,7 +505,6 @@ export class Shell {
}
} finally {
terminal7.log("reconnect done")
this.stopWatchdog()
}
return

Expand Down

0 comments on commit 4dd25b3

Please sign in to comment.