##// END OF EJS Templates
MTInteractiveShell.runsource() - return immediately if we are being killed (code would never get run -> deadlock)
vivainio2 -
Show More
@@ -384,6 +384,10 b' class MTInteractiveShell(InteractiveShell):'
384 384 if KBINT:
385 385 KBINT = False
386 386 return False
387
388 if self._kill:
389 # can't queue new code if we are being killed
390 return True
387 391
388 392 try:
389 393 code = self.compile(source, filename, symbol)
General Comments 0
You need to be logged in to leave comments. Login now