diff options
-rw-r--r-- | TurtleArt/talogo.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TurtleArt/talogo.py b/TurtleArt/talogo.py index 9cdb317..d32b254 100644 --- a/TurtleArt/talogo.py +++ b/TurtleArt/talogo.py @@ -155,6 +155,9 @@ class LogoCode: def stop_logo(self): """ Stop logo is called from the Stop button on the toolbar """ self.step = _just_stop() + # Clear istack and iline of any code that was not executed due to Stop + self.istack = [] + self.iline = None self.tw.stop_plugins() if self.tw.gst_available: from tagplay import stop_media |