Fixed ssh tunnel hang issue when the user tries to disconnect the server. Fixes #4361
parent
48737e6a02
commit
aac0da4cbc
|
@ -24,6 +24,7 @@ Bug fixes
|
|||
*********
|
||||
|
||||
| `Issue #3767 <https://redmine.postgresql.org/issues/3767>`_ - Ensure that the original file format should be retained when saving the same file in SQL editor.
|
||||
| `Issue #4361 <https://redmine.postgresql.org/issues/4361>`_ - Fixed ssh tunnel hang issue when the user tries to disconnect the server.
|
||||
| `Issue #4387 <https://redmine.postgresql.org/issues/4387>`_ - Fixed an issue where the user is not able to insert the data if the table and columns name contains special characters.
|
||||
| `Issue #4810 <https://redmine.postgresql.org/issues/4810>`_ - Fixed an issue where the user is not able to save the new row if the table is empty.
|
||||
| `Issue #5429 <https://redmine.postgresql.org/issues/5429>`_ - Ensure that the Dictionaries drop-down shows all the dictionaries in the FTS configuration dialog.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue