Commit 935f733
Remove RCTInstance runtime diagnostic flags getter/setter (#58384)
Summary:
Pull Request resolved: #58384
Removes the `RCTInstanceRuntimeDiagnosticFlags` getter and `RCTInstanceSetRuntimeDiagnosticFlags` setter (and the backing static) from the bridgeless `RCTInstance` runtime, on both the iOS and macOS platform copies.
The setter had no callers anywhere, so the getter always returned an empty string and the `RN$DiagnosticFlags` JS global was never defined. The `ReactInstance::JSRuntimeFlags::runtimeDiagnosticFlags` field already defaults to an empty string, so the `initializeRuntime` call site now relies on that default with no change in runtime behavior.
Changelog:
[iOS][Removed] - Remove `RCTInstanceSetRuntimeDiagnosticFlags` and `RCTInstanceRuntimeDiagnosticFlags`
Reviewed By: christophpurrer
Differential Revision: D119072229
fbshipit-source-id: c249705231efd4ffe1a9e768758665589a420aae1 parent df86c5e commit 935f733
2 files changed
Lines changed: 1 addition & 25 deletions
File tree
- packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 21 | | |
30 | 22 | | |
31 | 23 | | |
| |||
Lines changed: 1 addition & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 64 | | |
79 | 65 | | |
80 | 66 | | |
| |||
440 | 426 | | |
441 | 427 | | |
442 | 428 | | |
443 | | - | |
444 | | - | |
445 | | - | |
| 429 | + | |
446 | 430 | | |
447 | 431 | | |
448 | 432 | | |
| |||
0 commit comments