MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / clearLocal

Method clearLocal

source/src/scriptinterpreter.h:1153–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1151 }
1152 }
1153 void clearLocal() { std::unique_lock<std::mutex> lock(localVariablesMutex); localVariables.clear(); }
1154 static void clearGlobal() { std::unique_lock<std::mutex> lock(globalVariablesMutex); globalVariables.clear(); }
1155 void clearFunc() { std::unique_lock<std::mutex> lock(customFunctionsMutex); customFunctions.clear(); }
1156 static void clearMutex() { mutex.clean_up(); }

Callers 3

execMethod · 0.80
execMethod · 0.80
QiInterpreterMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected