Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions python_mpv_jsonipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def __init__(self, ipc_socket, callback=None, quit_callback=None):
self.callback = lambda data: None

threading.Thread.__init__(self)
self.daemon = True

def stop(self, join=True):
"""Terminate the thread."""
Expand Down Expand Up @@ -144,6 +145,7 @@ def __init__(self, ipc_socket, callback=None, quit_callback=None):
self.callback = lambda data: None

threading.Thread.__init__(self)
self.daemon = True

def stop(self, join=True):
"""Terminate the thread."""
Expand Down Expand Up @@ -356,6 +358,7 @@ def __init__(self):
"""Create an instance of the thread."""
self.queue = queue.Queue()
threading.Thread.__init__(self)
self.daemon = True

def put_task(self, func, *args):
"""
Expand Down