Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ destroy
Method
destroy
packages/melonjs/src/renderable/imagelayer.js:354–358 ·
view source on GitHub ↗
* Destroy function * @ignore
()
Source
from the content-addressed store, hash-verified
352
* @ignore
353
*/
354
destroy() {
355
vector2dPool.release(this.ratio);
356
this.ratio = undefined;
357
super.destroy();
358
}
359
}
Callers
nothing calls this directly
Calls
2
release
Method · 0.65
destroy
Method · 0.65
Tested by
no test coverage detected