diff --git a/spyder/plugins/ipythonconsole/widgets/main_widget.py b/spyder/plugins/ipythonconsole/widgets/main_widget.py index f32a434badc..ce5eeadb3f5 100644 --- a/spyder/plugins/ipythonconsole/widgets/main_widget.py +++ b/spyder/plugins/ipythonconsole/widgets/main_widget.py @@ -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):