diff --git a/src/tribler-core/tribler_core/components/libtorrent/download_manager/download_manager.py b/src/tribler-core/tribler_core/components/libtorrent/download_manager/download_manager.py index f3da327a782..39234936f6d 100644 --- a/src/tribler-core/tribler_core/components/libtorrent/download_manager/download_manager.py +++ b/src/tribler-core/tribler_core/components/libtorrent/download_manager/download_manager.py @@ -187,7 +187,7 @@ async def shutdown(self, timeout=30): # Remove metadata temporary directory if self.metadata_tmpdir: - rmtree(self.metadata_tmpdir) + rmtree(self.metadata_tmpdir, ignore_errors=True) self.metadata_tmpdir = None def is_shutdown_ready(self):