Skip to content

Commit

Permalink
IPython console: Remove on_close method from it main widget
Browse files Browse the repository at this point in the history
That's not really necessary because the plugin declares the same method,
so it was being called twice when the main window is closed.
  • Loading branch information
ccordoba12 committed Feb 11, 2024
1 parent 638c353 commit 93b8739
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spyder/plugins/ipythonconsole/widgets/main_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,6 @@ def __init__(self, name=None, plugin=None, parent=None):
# Update the list of envs at startup
self.get_envs()

def on_close(self):
self.mainwindow_close = True
self.close_all_clients()

# ---- PluginMainWidget API and settings handling
# ------------------------------------------------------------------------
def get_title(self):
Expand Down

0 comments on commit 93b8739

Please sign in to comment.