Daemonize streams

pull/118/head
Lorenz Diener 2017-12-19 15:06:44 +01:00
rodzic 9f9a7826d7
commit 08a0e5ff67
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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: