Commit b541ad7
fix: add iOS engine detach cleanup and enforce private channel access
Add detachFromEngine(for:) to iOS plugin so channel is cleaned up when
the engine detaches, matching Android's onDetachedFromEngine behavior.
Make FlutterLogbackAppender.channel private to enforce use of
setChannel/clearChannel accessors.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 65dffed commit b541ad7
2 files changed
Lines changed: 8 additions & 2 deletions
File tree
- android/src/main/java/com/optimizely/optimizely_flutter_sdk
- ios/Classes
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
57 | 63 | | |
58 | 64 | | |
59 | 65 | | |
| |||
0 commit comments