Skip to content

Commit

Permalink
Chore: remove useless event unbinding (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinHoldstock authored Jan 25, 2018
1 parent fd711bb commit 618f106
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/viewers/box3d/model3d/Model3DControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,6 @@ class Model3DControls extends Box3DControls {

/** @inheritdoc */
destroy() {
if (this.controls) {
this.controls.controlsEl.removeEventListener('click', this.handleControlsClick);
}

this.animationClipsPullup.removeListener(EVENT_SELECT_ANIMATION_CLIP, this.handleSelectAnimationClip);
this.animationClipsPullup.destroy();
this.animationClipsPullup = null;
Expand Down

0 comments on commit 618f106

Please sign in to comment.