changeset 32884:9034521f154f stable

fix crash (sig 6) when closing octave with exp. terminal widget * octave-qobject.cc (base_qobject::close_gui): Do not delete main_window here as it is deleted later in the destructor of base_qobject
author Torsten Lilge <ttl-octave@mailbox.org>
date Tue, 30 Jan 2024 19:38:58 +0100
parents 8b17f4ebc13f
children a7ea1176d3a3
files libgui/src/octave-qobject.cc
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/octave-qobject.cc	Mon Jan 29 21:18:35 2024 -0500
+++ b/libgui/src/octave-qobject.cc	Tue Jan 30 19:38:58 2024 +0100
@@ -954,13 +954,6 @@
         });
 
       m_app_context.gui_running (false);
-
-      if (m_main_window)
-        {
-          m_main_window->deleteLater ();
-
-          m_main_window = nullptr;
-        }
     }
 }