MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / unload

Method unload

Source/Editor/Content/PreviewsCache.cpp:142–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void PreviewsCache::unload(bool isReloading)
143{
144 // Wait for flush end
145 if (IsFlushing())
146 {
147 _flushTask->Cancel();
148 }
149
150 // Release data
151 _assets.Clear();
152
153 SpriteAtlas::unload(isReloading);
154}
155
156AssetChunksFlag PreviewsCache::getChunksToPreload() const
157{

Callers

nothing calls this directly

Calls 2

CancelMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected