Skip to content

Commit

Permalink
Merge pull request #19820 from emberjs/fix-memory-leak
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue authored Nov 3, 2021
2 parents e0093b5 + 4112c33 commit 7ffcb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ember/-internals/container/lib/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ class FactoryManager<T, C> {
this.injections = undefined;
setFactoryFor(this, this);

if (factory) {
if (isInstantiatable(container, fullName)) {
setFactoryFor(factory, this);
}
}
Expand Down

0 comments on commit 7ffcb58

Please sign in to comment.