Skip to content

Commit

Permalink
[BUGFIX beta] remove unneeded setFactoryFor(this, this)
Browse files Browse the repository at this point in the history
Identified as part of the work on #20025, this particular `setFactoryFor`
was needed at one time but is now defunct. Remove it.

(cherry picked from commit 0a1b4e4)
  • Loading branch information
chriskrycho authored and kategengler committed Mar 21, 2022
1 parent e3a9633 commit df1cc2b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/@ember/-internals/container/lib/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ export class FactoryManager<T, C> {
this.normalizedName = normalizedName;
this.madeToString = undefined;
this.injections = undefined;
setFactoryFor(this, this);

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

0 comments on commit df1cc2b

Please sign in to comment.