mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-25 22:20:05 -05:00
Fixed ssh tunnel hang issue when the user tries to disconnect the server. Fixes #4361
This commit is contained in:
1 parent
48737e6a02
commit
aac0da4cbc
2 files changed
+3
-1
No files matched your search
@@ -508,7 +508,8 @@ WHERE db.oid = {0}""".format(did))
|
||||
ssh_password=tunnel_password,
|
||||
remote_bind_address=(self.host, self.port)
|
||||
)
|
||||
|
||||
# flag tunnel threads in daemon mode to fix hang issue.
|
||||
self.tunnel_object.daemon_forward_servers = True
|
||||
self.tunnel_object.start()
|
||||
self.tunnel_created = True
|
||||
except BaseSSHTunnelForwarderError as e:
|
||||
|
||||
Reference in new issue
Block a user