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.
  • Loading branch information
chriskrycho committed Mar 16, 2022
1 parent d8f8266 commit 0a1b4e4
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 extends FactoryClass | object = FactoryClass> {
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 0a1b4e4

Please sign in to comment.