summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrahulp132020-08-30 14:38:38 +0530
committerrahulp132020-08-30 14:38:38 +0530
commit59e9486df79c8503b93ee5e0ab287b03fb8cae0a (patch)
tree42873466ef40b16eb8a136c7320d6f63651dd6c6
parent4713e795b6c9508c0e40462e155f90d769708775 (diff)
downloadeSim-59e9486df79c8503b93ee5e0ab287b03fb8cae0a.tar.gz
eSim-59e9486df79c8503b93ee5e0ab287b03fb8cae0a.tar.bz2
eSim-59e9486df79c8503b93ee5e0ab287b03fb8cae0a.zip
fixed GC issue with module not found
-rw-r--r--src/projManagement/Worker.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/projManagement/Worker.py b/src/projManagement/Worker.py
index cdad4170..970bfccd 100644
--- a/src/projManagement/Worker.py
+++ b/src/projManagement/Worker.py
@@ -13,13 +13,12 @@
# MODIFIED: Rahul Paknikar, rahulp@iitb.ac.in
# ORGANIZATION: eSim Team at FOSSEE, IIT Bombay
# CREATED: Tuesday 24 February 2015
-# REVISION: Sunday 02 August 2020
+# REVISION: Sunday 16 August 2020
# =========================================================================
from PyQt5 import QtCore
import subprocess
from configuration.Appconfig import Appconfig
-import threading
class WorkerThread(QtCore.QThread):
@@ -53,8 +52,10 @@ class WorkerThread(QtCore.QThread):
@return
None
"""
- if threading.active_count() > 1:
+ try:
self.wait()
+ except BaseException:
+ pass
def get_proc_threads(self):
"""