This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 6ae2021
authored
Re-reland "iOS: Migrate FlutterEngine to ARC" (#55962)
This reverts commit 7525656.
This relands commit 02fc8a4.
That commit was a reland of 449df25.
Migrates `FlutterEngine` from manual reference counting to ARC. Migrates properties from `retain` to strong and `assign` to `weak` (where referencing an Obj-C object).
This has the following change from the previous patch:
* startProfiler was updated to eliminate the self-capture in #55957 which prevents the possibility of dealloc on the profiling thread.
No semantic changes, therefore no changes to tests.
Issue: flutter/flutter#137801
Issue: flutter/flutter#156177
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style1 parent 6b51fae commit 6ae2021
6 files changed
Lines changed: 286 additions & 378 deletions
File tree
- shell/platform/darwin/ios
- framework/Source
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
189 | | - | |
190 | | - | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
0 commit comments