From 01738757ef4729302ddf4ce92a0ca2e7cece48cb Mon Sep 17 00:00:00 2001 From: Abdo Date: Tue, 17 Oct 2023 02:47:50 +0300 Subject: [PATCH] Prevent media syncing from blocking collection tasks (#2740) --- qt/aqt/mediasync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qt/aqt/mediasync.py b/qt/aqt/mediasync.py index f0312102e..69cad9502 100644 --- a/qt/aqt/mediasync.py +++ b/qt/aqt/mediasync.py @@ -61,7 +61,9 @@ class MediaSyncer: time.sleep(0.25) - self.mw.taskman.run_in_background(monitor, self._on_finished) + self.mw.taskman.run_in_background( + monitor, self._on_finished, uses_collection=False + ) def _update_progress(self, progress: str) -> None: self.last_progress = progress