A framework for building native applications using React
Implement Runtime.releaseObject and releaseObjectGroup (#46032)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46032 Changelog: [Internal] Implements the [`Runtime.releaseObject`](https://cdpstatus.reactnative.dev/devtools-protocol/tot/Runtime#method-releaseObject) and [`Runtime.releaseObjectGroup`](https://cdpstatus.reactnative.dev/devtools-protocol/tot/Runtime#method-releaseObjectGroup) CDP methods. These are used by CDT in a few places to release inspected objects (e.g. as part of the [popover](https://github.com/facebookexperimental/rn-chrome-devtools-frontend/blob/7b143e5d05a102c8c9cc7e282bab7b0751f75d61/front_end/panels/sources/DebuggerPlugin.ts#L766) feature), which is important to prevent memory leaks in long-running Fusebox sessions. Reviewed By: dannysu, robhogan Differential Revision: D61280394 fbshipit-source-id: 82181c6d0d6e52cf606ef2f48d389631e44b295e
R
Ruslan Lesiutin committed
4eceb7e56892a70a727272d1c7025bad4724dd6e
Parent: 7e1674f
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 10/10/2024, 2:49:46 PM