We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb3e359 commit 55b8270Copy full SHA for 55b8270
1 file changed
packages/vrender-core/src/core/stage.ts
@@ -1045,7 +1045,10 @@ export class Stage extends Group implements IStage {
1045
this.window.release();
1046
this._ticker?.remTimeline(this?.timeline);
1047
this._ticker?.removeListener('tick', this.afterTickCb);
1048
- this._ticker?.release();
+ if (!this.params.ticker) {
1049
+ // release stage创建的ticker,避免release外部的ticker
1050
+ this._ticker?.release();
1051
+ }
1052
this.renderService.renderTreeRoots = [];
1053
}
1054
0 commit comments