Skip to content

Commit

Permalink
Merge pull request cocos#41 from dumganhar/v3.3.0-native
Browse files Browse the repository at this point in the history
Call _registerListeners in Root._ctor
  • Loading branch information
minggo authored Oct 21, 2021
2 parents ced44af + 423ea46 commit c06f1e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cocos/core/root.jsb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Root.prototype._ctor = function() {
this._modelPools = new Map();
this._lightPools = new Map();
this._batcher = null;
this._registerListeners();
};

Root.prototype.initialize = function (info: IRootInfo) {
Expand Down

0 comments on commit c06f1e1

Please sign in to comment.