kopia lustrzana https://github.com/halcy/Mastodon.py
Daemonize streams
rodzic
9f9a7826d7
commit
08a0e5ff67
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue