MCPcopy
hub / github.com/4ian/GDevelop / removeAll

Method removeAll

Extensions/Spine/spine-pixi-v7/B_spine-pixi-v7.js:5980–5988  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5978 return asset;
5979 }
5980 removeAll() {
5981 for (let path in this.cache.assets) {
5982 let asset = this.cache.assets[path];
5983 if (asset.dispose) asset.dispose();
5984 }
5985 this.cache.assets = {};
5986 this.cache.assetsLoaded = {};
5987 this.cache.assetsRefCount = {};
5988 }
5989 isLoadingComplete() {
5990 return this.toLoad == 0;
5991 }

Callers 1

disposeMethod · 0.45

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected