nank1ro / solidart

Signals in Dart and Flutter, inspired by SolidJS
https://docs.page/nank1ro/solidart
MIT License
163 stars 7 forks source link

bugfix/signal autodispose observation #84

Closed nank1ro closed 10 months ago

nank1ro commented 10 months ago

fix autoDispose of signal with observations

codecov[bot] commented 10 months ago

Codecov Report

Merging #84 (e0e607c) into main (f46b91d) will not change coverage. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/nank1ro/solidart/pull/84/graphs/tree.svg?width=650&height=150&src=pr&token=HvJYtaixiW&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexandru+Mariuti)](https://app.codecov.io/gh/nank1ro/solidart/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexandru+Mariuti) ```diff @@ Coverage Diff @@ ## main #84 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 21 21 Lines 1244 1243 -1 ========================================= - Hits 1244 1243 -1 ``` | [Files](https://app.codecov.io/gh/nank1ro/solidart/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexandru+Mariuti) | Coverage Δ | | |---|---|---| | [packages/solidart/lib/src/core/atom.dart](https://app.codecov.io/gh/nank1ro/solidart/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexandru+Mariuti#diff-cGFja2FnZXMvc29saWRhcnQvbGliL3NyYy9jb3JlL2F0b20uZGFydA==) | `100.00% <100.00%> (ø)` | | | [packages/solidart/lib/src/core/effect.dart](https://app.codecov.io/gh/nank1ro/solidart/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexandru+Mariuti#diff-cGFja2FnZXMvc29saWRhcnQvbGliL3NyYy9jb3JlL2VmZmVjdC5kYXJ0) | `100.00% <ø> (ø)` | | | [...ckages/solidart/lib/src/core/reactive\_context.dart](https://app.codecov.io/gh/nank1ro/solidart/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexandru+Mariuti#diff-cGFja2FnZXMvc29saWRhcnQvbGliL3NyYy9jb3JlL3JlYWN0aXZlX2NvbnRleHQuZGFydA==) | `100.00% <ø> (ø)` | | | [packages/solidart/lib/src/core/read\_signal.dart](https://app.codecov.io/gh/nank1ro/solidart/pull/84?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexandru+Mariuti#diff-cGFja2FnZXMvc29saWRhcnQvbGliL3NyYy9jb3JlL3JlYWRfc2lnbmFsLmRhcnQ=) | `100.00% <100.00%> (ø)` | |