MCPcopy Create free account
hub / github.com/defold/defold / UnmarkPathInProgress

Function UnmarkPathInProgress

engine/resource/src/resource_preloader.cpp:299–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297 }
298
299 static void UnmarkPathInProgress(ResourcePreloader* preloader, const PathDescriptor* path_descriptor)
300 {
301 dmhash_t path_hash = path_descriptor->m_CanonicalPathHash;
302 assert(preloader->m_InProgress.Get(path_hash) != 0x0);
303 preloader->m_InProgress.Erase(path_hash);
304 }
305
306 static void PreloaderTreeInsert(ResourcePreloader* preloader, TRequestIndex index, TRequestIndex parent)
307 {

Callers 2

PreloaderTryPruneParentFunction · 0.85
FinishLoadFunction · 0.85

Calls 3

assertFunction · 0.50
GetMethod · 0.45
EraseMethod · 0.45

Tested by

no test coverage detected