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
{{ message }}
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
i found that the @destroy lifecycle is only called on the last instance that was created from a non-singleton scoped component. It's not documented anywhere but i assume the expected behavior would be that it's called on every instance.
I already created a unit test as a repro case but i'm currently not allowed to push branches to this project.
What's the expected behavior and would you accept a PR to fix this?
Cheers,
Tobias
The text was updated successfully, but these errors were encountered:
@Orp22 Still waiting for a PR. Not that you missunderstood me. I would appreciate and integrate your changes if you send me a PR. You don't need to keep a fork and maintain that.
@KnisterPeter Yes, i haven't forgotten about the bug. I just recently moved apartments so i didn't have free time to take care of it. It's not that urgent for me/us as we rarely use non-singleton stores but i will open a PR with a fix as soon as i have it :-)
Hi,
i found that the @destroy lifecycle is only called on the last instance that was created from a non-singleton scoped component. It's not documented anywhere but i assume the expected behavior would be that it's called on every instance.
I already created a unit test as a repro case but i'm currently not allowed to push branches to this project.
What's the expected behavior and would you accept a PR to fix this?
Cheers,
Tobias
The text was updated successfully, but these errors were encountered: