MCPcopy Create free account
hub / github.com/esengine/esengine / onDestroy

Function onDestroy

packages/core/src/ECS/Systems/WorkerEntitySystem.ts:832–835  ·  view source on GitHub ↗

* @zh 销毁系统时清理资源 * @en Clean up resources on destroy

()

Source from the content-addressed store, hash-verified

830 * @en Clean up resources on destroy
831 */
832 protected override onDestroy(): void {
833 super.onDestroy();
834 this.destroyWorkerPool();
835 }
836
837 protected override getLoggerName(): string {
838 return getSystemInstanceTypeName(this);

Callers

nothing calls this directly

Calls 1

onDestroyMethod · 0.65

Tested by

no test coverage detected