@ue-too/board-pixi-react-integration / index / teardownComponents
関数: teardownComponents()
teardownComponents(
components):void
定義: board-pixi-react-integration/src/hooks/pixi/teardown.ts:18
Tears down an initialized app: every registered cleanup, then the Pixi application.
cleanups is the extension point — baseInitApp registers its own teardown there and apps push theirs after it. cleanup is kept for callers that still replace it via spread ({ ...base, cleanup: … }); it runs after the registered cleanups, but only when it is NOT already one of them, so the base teardown never runs twice and a replaced cleanup can no longer silently drop the base teardown.
パラメータ
components
戻り値
void