summaryrefslogtreecommitdiff
path: root/src/frontEnd/Application.py
diff options
context:
space:
mode:
authorfahim-oscad2016-04-04 16:59:25 +0530
committerfahim-oscad2016-04-04 16:59:25 +0530
commit705a0be005d9be0a3a81a4f58e4b5c92e586a4c9 (patch)
treeb94d6ecdbf95262b8da335aa7c650e3e2fc8607b /src/frontEnd/Application.py
parent92860fe3ba762ff0a690f887319a7d95018b49c9 (diff)
parent66770d5e2c94cc299424daa67b8bfafcb4d9b8c1 (diff)
downloadeSim-705a0be005d9be0a3a81a4f58e4b5c92e586a4c9.tar.gz
eSim-705a0be005d9be0a3a81a4f58e4b5c92e586a4c9.tar.bz2
eSim-705a0be005d9be0a3a81a4f58e4b5c92e586a4c9.zip
Merged modification branch into release
Diffstat (limited to 'src/frontEnd/Application.py')
-rwxr-xr-xsrc/frontEnd/Application.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index 24e541c3..a3438591 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -187,6 +187,9 @@ class Application(QtGui.QMainWindow):
if current_project==None:
pass
else:
+ for pid in self.obj_appconfig.proc_dict[self.obj_appconfig.current_project['ProjectName']]:
+ os.kill(pid, 9)
+ 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.')