# HG changeset patch # User Torsten Lilge # Date 1706639938 -3600 # Node ID 9034521f154fcfd2550205eb1e90bd35bbd59cdc # Parent 8b17f4ebc13f38c0dc03ac6187194eaa65c602b5 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 diff -r 8b17f4ebc13f -r 9034521f154f libgui/src/octave-qobject.cc --- 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; - } } }