Skip to content

Commit

Permalink
owpythonscript: Shutdown kernel onDelete Widget
Browse files Browse the repository at this point in the history
  • Loading branch information
irgolic committed Jul 16, 2021
1 parent ac321f8 commit 2da0f12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Orange/widgets/data/owpythonscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,8 @@ def migrate_settings(cls, settings, version):
settings["scriptLibrary"] = library

def onDeleteWidget(self):
self.text.terminate()
self.editor.terminate()
self.shutdown_kernel()
super().onDeleteWidget()


Expand Down

0 comments on commit 2da0f12

Please sign in to comment.