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 17, 2021
1 parent 7b813ef commit ccf8b66
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 ccf8b66

Please sign in to comment.