fix bug with unfinished debug thread
authorSurkov Sergey <surkovsv93@gmail.com>
Mon, 28 Aug 2017 13:43:46 +0300
changeset 1793 c2f48d791d9f
parent 1792 4d1de8b0183f
child 1794 e31d5a36d1f3
fix bug with unfinished debug thread
this bug occurs when user doesn't stop debugging process in current project, and opens another project
ProjectController.py
--- a/ProjectController.py	Fri Aug 25 14:01:44 2017 +0300
+++ b/ProjectController.py	Mon Aug 28 13:43:46 2017 +0300
@@ -307,7 +307,7 @@
             self.AppFrame.Unbind(wx.EVT_TIMER, self.StatusTimer)
             self.StatusTimer = None
             self.AppFrame = None
-
+            self.KillDebugThread()
         self.logger = logger
 
     def CTNName(self):