aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index ca4849f..28ad9d8 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -1693,7 +1693,7 @@ class Mastodon:
1693 handle = __stream_handle(connection) 1693 handle = __stream_handle(connection)
1694 1694
1695 if async: 1695 if async:
1696 t = threading.Thread(args=(), target=handle._threadproc) 1696 t = threading.Thread(args=(), daemon = True, target=handle._threadproc)
1697 t.start() 1697 t.start()
1698 return handle 1698 return handle
1699 else: 1699 else:
Powered by cgit v1.2.3 (git 2.41.0)