Skip to content

Commit

Permalink
Merge pull request #246 from SergeAstapov/upgrade-ember-modifier
Browse files Browse the repository at this point in the history
Upgrade ember-modifier to v2
  • Loading branch information
snewcomer authored Aug 5, 2020
2 parents a8e7e00 + 659a030 commit 9d3fcac
Show file tree
Hide file tree
Showing 4 changed files with 1,500 additions and 17,488 deletions.
2 changes: 2 additions & 0 deletions addon/services/in-viewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,11 @@ export default class InViewport extends Service {
set(this, 'registry', null);
if (this.observerAdmin) {
this.observerAdmin.destroy();
set(this, 'observerAdmin', null);
}
if (this.rafAdmin) {
this.rafAdmin.reset();
set(this, 'rafAdmin', null);
}
}

Expand Down
Loading

0 comments on commit 9d3fcac

Please sign in to comment.