| 1172 | |
| 1173 | |
| 1174 | void 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 | |
| 1186 | ParamHandle* Engine::getParamHandle(int64_t moduleId, int paramId) { |
nothing calls this directly
no test coverage detected