Skip to content

Commit

Permalink
Merge pull request #486 from trevordevore/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
kategengler authored Sep 23, 2024
2 parents 1dce72b + 817f6f5 commit 857638d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ember-infinity/src/components/infinity-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default class InfinityLoaderComponent extends Component {
this._cancelTimers();

this.infinityModelContent.then((infinityModel) => {
if (!this.isDestroyed) {
if (!this.isDestroyed && !this.isDestroying) {
infinityModel.off(
'infinityModelLoaded',
this,
Expand Down

0 comments on commit 857638d

Please sign in to comment.