Skip to content

Commit fb3e359

Browse files
committed
fix(stage): ensure proper cleanup by releasing ticker in dispose
1 parent 5203fc3 commit fb3e359

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/vrender-core/src/core/stage.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,7 @@ export class Stage extends Group implements IStage {
10451045
this.window.release();
10461046
this._ticker?.remTimeline(this?.timeline);
10471047
this._ticker?.removeListener('tick', this.afterTickCb);
1048+
this._ticker?.release();
10481049
this.renderService.renderTreeRoots = [];
10491050
}
10501051

0 commit comments

Comments
 (0)