Browse Source

Adds gate to disconnect to avoid reentry

main
Eric Amodio 2 years ago
parent
commit
157d46fe2a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/git/remotes/provider.ts

+ 1
- 0
src/git/remotes/provider.ts View File

@ -350,6 +350,7 @@ export abstract class RichRemoteProvider extends RemoteProvider {
}
}
@gate()
@log()
async disconnect(silent: boolean = false): Promise<void> {
const connected = this._session != null;

Loading…
Cancel
Save