From 4752b777921f54b3a23dfc2952697ddf11922112 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Thu, 2 Nov 2017 10:25:57 -0700 Subject: [PATCH] Fix parallelizer's progressdialog usage --- pyqtgraph/multiprocess/parallelizer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyqtgraph/multiprocess/parallelizer.py b/pyqtgraph/multiprocess/parallelizer.py index 934bc6d0..86298023 100644 --- a/pyqtgraph/multiprocess/parallelizer.py +++ b/pyqtgraph/multiprocess/parallelizer.py @@ -101,7 +101,10 @@ class Parallelize(object): else: ## parent if self.showProgress: - self.progressDlg.__exit__(None, None, None) + try: + self.progressDlg.__exit__(None, None, None) + except Exception: + pass def runSerial(self): if self.showProgress: