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

Method clearErrorState

packages/fairygui/src/widgets/GLoader.ts:495–503  ·  view source on GitHub ↗

* Clear error state * 清除错误状态

()

Source from the content-addressed store, hash-verified

493 * 清除错误状态
494 */
495 private clearErrorState(): void {
496 if (this._errorSign) {
497 if (this._displayObject && this._errorSign.displayObject) {
498 this._displayObject.removeChild(this._errorSign.displayObject);
499 }
500 GLoader._errorSignPool.returnObject(this._errorSign);
501 this._errorSign = null;
502 }
503 }
504
505 /**
506 * Update content layout

Callers 1

clearContentMethod · 0.95

Calls 2

returnObjectMethod · 0.80
removeChildMethod · 0.45

Tested by

no test coverage detected