Skip to content

Commit 1493555

Browse files
committed
Fix canceling reconnect still reconnecting
1 parent 7e68fa5 commit 1493555

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/remote.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,9 @@ export class Remote {
283283
)
284284
if (!result) {
285285
await this.closeRemote()
286+
} else {
287+
await this.reloadWindow()
286288
}
287-
await this.reloadWindow()
288289
return
289290
}
290291

0 commit comments

Comments
 (0)