# HG changeset patch # User John W. Eaton # Date 1645143770 18000 # Node ID 311a8fb8b1274477eaf72a861d5198cc9c520038 # Parent 49f1277f430b89950bcd648b811bc092c02a5981 use clear_workspace instead of set_workspace with no arguments * interpreter.cc (interpreter::shutdown): Use event_manager::clear_workspace instead of set_workspace with no arguments. diff -r 49f1277f430b -r 311a8fb8b127 libinterp/corefcn/interpreter.cc --- a/libinterp/corefcn/interpreter.cc Thu Feb 17 21:34:30 2022 +0100 +++ b/libinterp/corefcn/interpreter.cc Thu Feb 17 19:22:50 2022 -0500 @@ -991,7 +991,7 @@ // and functions to be cleared. OCTAVE_SAFE_CALL (clear_all, ()); - OCTAVE_SAFE_CALL (m_event_manager.set_workspace, ()); + OCTAVE_SAFE_CALL (m_event_manager.clear_workspace, ()); // If we are attached to a GUI, queue and event to close it (only // works with the new terminal widget), process pending events and