DebugClients/Python3/DebugClientThreads.py

changeset 5162
bbf2bb2d533c
parent 5161
f7b6ded9cc37
--- a/DebugClients/Python3/DebugClientThreads.py	Sun Sep 11 13:11:58 2016 +0200
+++ b/DebugClients/Python3/DebugClientThreads.py	Sun Sep 11 16:39:30 2016 +0200
@@ -154,7 +154,7 @@
         """
         try:
             self.lockClient()
-            if id is None:
+            if id is None or id not in self.threads:
                 self.currentThread = None
             else:
                 self.currentThread = self.threads[id]

eric ide

mercurial