select-snapshot icon indicating copy to clipboard operation
select-snapshot copied to clipboard

fix: add store service cleanup

Open vanmxpx opened this issue 1 year ago • 0 comments

PR Checklist

Please check if your PR fulfills the following requirements:

  • [ ] The commit message follows our guidelines: https://github.com/ngxs/store/blob/master/CONTRIBUTING.md#commit
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Reference to Store service object keeps after the module is destroyed.

Issue Number: #116

What is the new behavior?

Reference to Store service object clears after the module is destroyed. (same behavior as with "injector" reference)

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

vanmxpx avatar Apr 08 '23 20:04 vanmxpx