Skip to content

Commit 857638d

Browse files
authored
Merge pull request #486 from trevordevore/patch-1
2 parents 1dce72b + 817f6f5 commit 857638d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ember-infinity/src/components/infinity-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export default class InfinityLoaderComponent extends Component {
177177
this._cancelTimers();
178178

179179
this.infinityModelContent.then((infinityModel) => {
180-
if (!this.isDestroyed) {
180+
if (!this.isDestroyed && !this.isDestroying) {
181181
infinityModel.off(
182182
'infinityModelLoaded',
183183
this,

0 commit comments

Comments
 (0)