Skip to content

Commit 777e04a

Browse files
committed
clear only ptb global vars
1 parent c6f3af0 commit 777e04a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp_ptb.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ function uninitCppPtb()
131131
rmpath(CPP_PTB_PATHS);
132132

133133
if IsOctave
134-
clear -g;
134+
clear -g CPP_PTB_PATHS CPP_PTB_INITIALIZED;
135135
else
136-
clearvars -GLOBAL;
136+
clearvars -GLOBAL CPP_PTB_PATHS CPP_PTB_INITIALIZED;
137137
end
138138

139139
end

0 commit comments

Comments
 (0)