MCPcopy Create free account
hub / github.com/VCVRack/Rack / removeParamHandle_NoLock

Method removeParamHandle_NoLock

src/engine/Engine.cpp:1174–1183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1172
1173
1174void Engine::removeParamHandle_NoLock(ParamHandle* paramHandle) {
1175 // Check that the ParamHandle is already added
1176 auto it = internal->paramHandles.find(paramHandle);
1177 assert(it != internal->paramHandles.end());
1178
1179 // Remove it
1180 paramHandle->module = NULL;
1181 internal->paramHandles.erase(it);
1182 Engine_refreshParamHandleCache(this);
1183}
1184
1185
1186ParamHandle* Engine::getParamHandle(int64_t moduleId, int paramId) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected