changeset 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 49f1277f430b
children e00154c0a71b
files libinterp/corefcn/interpreter.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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