MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / release_dynamic

Method release_dynamic

DSView/pv/ui/langresource.cpp:283–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void LangResource::release_dynamic()
284{
285 std::lock_guard<std::mutex> lock(_mutex);
286
287 for (Lang_resource_page *p : _pages)
288 {
289 if (p->_is_dynamic){
290 p->_res.clear();
291 p->_released = true;
292 }
293 }
294}

Callers 1

load_optionsMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected