From ccd9c1c3632aa22cdcc4e064f17e07803b1d27ba Mon Sep 17 00:00:00 2001 From: Windy Fairy <39211915+windyfairy@users.noreply.github.com> Date: Tue, 30 Apr 2019 07:57:08 +0900 Subject: [PATCH] Fix issue with IFS class not terminating Pool after creating new archive (#15) --- ifstools/ifs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ifstools/ifs.py b/ifstools/ifs.py index 002feac..866acdf 100644 --- a/ifstools/ifs.py +++ b/ifstools/ifs.py @@ -253,6 +253,9 @@ class IFS: if progress: tqdm.write(f) + p.close() + p.terminate() + # restore stuff from before for folder in folders: if isinstance(folder, MD5Folder):