ensure postproc finalize() is called during C-c or crash (#355)

This commit is contained in:
Mike Fährmann
2019-07-27 11:14:52 +02:00
parent 17a3426845
commit 20f7b07312

View File

@@ -81,6 +81,7 @@ class Job():
"https://github.com/mikf/gallery-dl/issues ."),
exc.__class__.__name__, exc)
log.debug("", exc_info=True)
finally:
self.handle_finalize()
def dispatch(self, msg):