Clean logger subscriptions upon reconfiguration
Open
bug
good first issue
- Dominant language
- Dart
- Stars
- 13
- Forks
- 5
- Avg merge
- 19h 29m
- Merged PRs (30d)
- 7
Description
### Describe the bug
If a logger is reconfigured with `configureLogger`, the old stream still sticks around. It would be better to clean up the old subscription (close it) so that we don't get duplicates every time its reconfigured.
### To Reproduce
_No response_
### Expected behavior
_No response_
### Actual behavior
_No response_
### Additional: Dart SDK info
_No response_
### Additional: pubspec.yaml
```yaml
```
### Additional: Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.