Skip to content

Commit c68e9de

Browse files
committed
if job has download temp directory clean it up
1 parent f45af09 commit c68e9de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mergin/client_pull.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ def download_project_finalize(job):
255255
# final update of project metadata
256256
job.mp.update_metadata(job.project_info)
257257

258+
if job.download_tmp_dir:
259+
job.download_tmp_dir.cleanup()
260+
258261

259262
def download_project_cancel(job):
260263
"""

0 commit comments

Comments
 (0)