Daemonize streams

This commit is contained in:
Lorenz Diener 2017-12-19 15:06:44 +01:00
pare 9f9a7826d7
commit 08a0e5ff67

Veure arxiu

@ -1693,7 +1693,7 @@ class Mastodon:
handle = __stream_handle(connection)
if async:
t = threading.Thread(args=(), target=handle._threadproc)
t = threading.Thread(args=(), daemon = True, target=handle._threadproc)
t.start()
return handle
else: