You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which @ngrx/* package(s) are the source of the bug?
signals
Minimal reproduction of the bug/regression with instructions
Any component that passes on a Signal to an rxMethod of a service provided in root, will cause a memory leak, because the rxMethod's effect is using the RootInjector:
If a component passes a Signal to an rxMethod instance that has been created in the root injector, the internal effect should run with the component's injector.
Versions of NgRx, Angular, Node, affected browser(s) and operating system(s)
Latest versions
Other information
No response
I would be willing to submit a PR to fix this issue
Yes
No
The text was updated successfully, but these errors were encountered:
Which @ngrx/* package(s) are the source of the bug?
signals
Minimal reproduction of the bug/regression with instructions
Any component that passes on a Signal to an
rxMethod
of a service provided in root, will cause a memory leak, because the rxMethod'seffect
is using theRootInjector
:https://stackblitz.com/edit/github-kvz3tp?file=src%2Fmain.ts
Expected behavior
If a component passes a Signal to an
rxMethod
instance that has been created in the root injector, the internal effect should run with the component's injector.Versions of NgRx, Angular, Node, affected browser(s) and operating system(s)
Latest versions
Other information
No response
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: