summaryrefslogtreecommitdiffhomepage
path: root/paramiko/transport.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r--paramiko/transport.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index 802b496f..136d7fb2 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -78,6 +78,7 @@ def _join_lingering_threads():
for thr in _active_threads:
thr.stop_thread()
+
import atexit
atexit.register(_join_lingering_threads)