diff options
Diffstat (limited to 'src/frontEnd/Application.py')
-rwxr-xr-x | src/frontEnd/Application.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index a3438591..1008c7b5 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -188,7 +188,10 @@ class Application(QtGui.QMainWindow): pass else: for pid in self.obj_appconfig.proc_dict[self.obj_appconfig.current_project['ProjectName']]: - os.kill(pid, 9) + try: + os.kill(pid, 9) + except: + pass self.obj_Mainview.obj_dockarea.closeDock() self.obj_appconfig.current_project['ProjectName'] = None self.systemTrayIcon.showMessage('Close', 'Current project '+os.path.basename(current_project)+' is Closed.') |