mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed ssh tunnel hang issue when the user tries to disconnect the server. Fixes #4361
This commit is contained in:
@@ -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