mirror of
https://github.com/stablyai/orca.git
synced 2026-09-24 16:02:41 +00:00
Co-authored-by: orca-bug-scan-bot <orca-bug-scan-bot@stably.ai>
This commit is contained in:
co-authored by
orca-bug-scan-bot
parent
4b86fe8292
commit
fd2b782b19
@@ -730,6 +730,10 @@ export function registerSshHandlers(
|
||||
clearProviderPtyState(ptyId)
|
||||
deletePtyOwnership(ptyId)
|
||||
}
|
||||
// Why: reset's connect() can trip onCredentialRequest, which adds to
|
||||
// credentialRequestedForTarget. Without this delete, a later doConnect
|
||||
// that doesn't prompt would still persist lastRequiredPassphrase=true.
|
||||
credentialRequestedForTarget.delete(targetId)
|
||||
await connectionManager!.disconnect(targetId)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user