Skip to content

Commit

Permalink
remove canVoiceEmitter listeners in dispose, see #1300
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Aug 1, 2022
1 parent edcc7a6 commit b7c37ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/display/Instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -1820,6 +1820,7 @@ class Instance {
this.visibleEmitter.removeAllListeners();
this.relativeVisibleEmitter.removeAllListeners();
this.selfVisibleEmitter.removeAllListeners();
this.canVoiceEmitter.removeAllListeners();

this.freeToPool();

Expand Down

0 comments on commit b7c37ce

Please sign in to comment.