Skip to content

Commit

Permalink
Merge pull request #20027 from emberjs/chriskrycho/unneeded-setFactor…
Browse files Browse the repository at this point in the history
…yFor-this-this

[BUGFIX beta] remove unneeded `setFactoryFor(this, this)`
  • Loading branch information
chriskrycho committed Mar 21, 2022
2 parents 9f42aa6 + 74b77a9 commit f35b4fe
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);
}

toString(): string {
Expand Down

0 comments on commit f35b4fe

Please sign in to comment.