We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 09bbb34 + 63685d6 commit ccf7a3fCopy full SHA for ccf7a3f
1 file changed
labgrid/util/ssh.py
@@ -521,9 +521,10 @@ def _stop_keepalive(self):
521
def disconnect(self):
522
assert self._connected
523
try:
524
+ self._stop_keepalive()
525
+
526
if self._socket:
527
self._logger.info("Closing SSH connection to %s", self.host)
- self._stop_keepalive()
528
self._stop_own_master()
529
finally:
530
self._connected = False
0 commit comments