1
0
mirror of https://github.com/HorlogeSkynet/SSHubl.git synced 2025-07-14 16:00:12 +02:00

Makes sure session is still known before rescheduling connection command

This commit is contained in:
2024-07-09 19:23:09 +02:00
parent aef9c13993
commit d9f0794ad7

@ -281,7 +281,10 @@ class SshConnectPasswordCommand(sublime_plugin.WindowCommand):
# make sure `_finish` method is called
try:
# if this connection corresponds to a known session re-schedule an attempt in 10 seconds
if identifier is not None:
if (
identifier is not None
and SshSession.get_from_project_data(uuid.UUID(identifier), self.window) is not None
):
schedule_ssh_connect_password_command(
host,
port,