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 24ca348a..4393d211 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -79,6 +79,7 @@ def _join_lingering_threads():
for thr in _active_threads:
thr.stop_thread()
+
import atexit
atexit.register(_join_lingering_threads)