1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 22:51:39 +00:00

[#196 state:fixed] [#188] Fixed a crash on crash reporting under Cocoa and improved job management to allow threaded error handling on _job_finished().

This commit is contained in:
Virgil Dupras
2012-03-05 14:09:42 -05:00
parent 188aa4bf2e
commit 22de2d803a
3 changed files with 10 additions and 5 deletions

View File

@@ -168,7 +168,9 @@ class PyDupeGuruBase(PyFairware):
self.progress.job_cancelled = True
def jobCompleted_(self, jobid: str):
self.model._job_completed(jobid)
result = self.model._job_completed(jobid, self.progress.last_error)
if not result:
self.progress.reraise_if_error()
#--- model --> view
@dontwrap