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

Method dispose

packages/core/src/ECS/WorldManager.ts:387–389  ·  view source on GitHub ↗

* 实现 IService 接口的 dispose 方法 * 调用 destroy 方法进行清理

()

Source from the content-addressed store, hash-verified

385 * 调用 destroy 方法进行清理
386 */
387 public dispose(): void {
388 this.destroy();
389 }
390
391 /**
392 * 判断World是否应该被清理

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.95

Tested by

no test coverage detected