mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 06:42:44 +00:00
fixed #9955 - host key checking race
This commit is contained in:
parent
bc63068af5
commit
1c077147ac
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ export class SSHSession {
|
||||||
algorithms,
|
algorithms,
|
||||||
authHandler: (methodsLeft, partialSuccess, callback) => {
|
authHandler: (methodsLeft, partialSuccess, callback) => {
|
||||||
this.zone.run(async () => {
|
this.zone.run(async () => {
|
||||||
|
await hostVerifiedPromise
|
||||||
callback(await this.handleAuth(methodsLeft))
|
callback(await this.handleAuth(methodsLeft))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue