diff libinterp/corefcn/interpreter.cc @ 30747:311a8fb8b127 stable

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.
author John W. Eaton <jwe@octave.org>
date Thu, 17 Feb 2022 19:22:50 -0500
parents 3c4368f0a4ab
children 076e19eac74a
line wrap: on
line diff
--- 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