From 19e16da327584913a5eaa9e1fbe8c5d67265d7b4 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 4 Apr 2019 16:23:22 +0200 Subject: added timeout parameter to BackgroundTaskThread.join() --- python/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/plugin.py') diff --git a/python/plugin.py b/python/plugin.py index 1aeb49d2..a3eafdde 100644 --- a/python/plugin.py +++ b/python/plugin.py @@ -657,5 +657,5 @@ class BackgroundTaskThread(BackgroundTask): def start(self): self.thread.start() - def join(self): - self.thread.join() + def join(self, timeout=None): + self.thread.join(timeout) -- cgit v1.3.1