[X2Go-Commits] python-x2go.git - release/0.4.0.x (branch) updated: 0.2.0.10-36-g265398a

X2Go dev team git-admin at x2go.org
Tue Jan 7 16:18:16 CET 2014


The branch, release/0.4.0.x has been updated
       via  265398a755330a15787fc7aa69924648a9b528c5 (commit)
      from  c005bbc4e71fb40b5766e4a26d63cf30dec25bd1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 x2go/backends/control/_stdout.py |   10 ++++++++++
 1 file changed, 10 insertions(+)

The diff of changes is:
diff --git a/x2go/backends/control/_stdout.py b/x2go/backends/control/_stdout.py
index e02fb21..e27a4af 100644
--- a/x2go/backends/control/_stdout.py
+++ b/x2go/backends/control/_stdout.py
@@ -209,6 +209,9 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
 
         self._published_applications_menu = {}
 
+        self.agent_chan = None
+        self.agent_handler = None
+
         paramiko.SSHClient.__init__(self)
         if self.add_to_known_hosts:
             self.set_missing_host_key_policy(paramiko.AutoAddPolicy())
@@ -918,6 +921,13 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
         # in any case, release out internal transport lock
         self._transport_lock.release()
 
+        # close SSH agent auth forwarding objects
+        if self.agent_handler is not None:
+            self.agent_handler.close()
+
+        if self.agent_chan is not None:
+            self.agent_chan.close()
+
         retval = False
         try:
             if self.get_transport() is not None:


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list