Commit eb42927
fix: remove leaked NotificationCenter observer in PVRootViewNavigationController
Observer was added unconditionally in _initThemeListener() but the deinit
only removed it when iOS < 17.0, which is never true on our iOS 17+ target.
Observer now always removed on dealloc.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 4d00ed5 commit eb42927
1 file changed
Lines changed: 1 addition & 4 deletions
File tree
- PVUI/Sources/PVSwiftUI/RootView
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | 224 | | |
226 | | - | |
227 | | - | |
228 | | - | |
| 225 | + | |
229 | 226 | | |
230 | 227 | | |
0 commit comments