Adding message to standard output to signal when LPCBeremiz is closed
authorlaurent
Tue, 15 Dec 2009 15:39:39 +0100
changeset 519 3a5faff52e5c
parent 518 8e61b0066859
child 520 ca5a2047e0ed
Adding message to standard output to signal when LPCBeremiz is closed
LPCBeremiz.py
--- a/LPCBeremiz.py	Tue Dec 15 15:35:02 2009 +0100
+++ b/LPCBeremiz.py	Tue Dec 15 15:39:39 2009 +0100
@@ -794,7 +794,7 @@
         self._init_beremiz_sizers()
 
     def OnCloseFrame(self, event):
-        global frame, lpcberemiz_cmd
+        global frame
         frame = None
         self.PluginRoot.ResetAppFrame(lpcberemiz_cmd.Log)
         if self.PluginRoot.OnlineMode == 0:
@@ -803,6 +803,8 @@
         self.PluginRoot.KillDebugThread()
         self.KillLocalRuntime()
         
+        print "Closed"
+        
         event.Skip()
 
     def ShowProperties(self):