Skip to content

Unfork NetworkIOAgent.cpp destructor and enableAgent API changes from 0.85 nightly integration #16263

Open

Description

@anuagragith

Problem Description

During the integration of RN 0.85.0-nightly-20260128-36f07a1b2 (#16245), the upstream NetworkIOAgent API changed from enable()/disable() to enableAgent()/disableAgent(). A destructor was also added to properly clean up the network agent. These changes were applied to the existing override file.

Note: The existing override (tracked by #13587) covers type/namespace fixes. This issue tracks the new destructor and API adaptation.

Current Fix
Updated the existing patched copy at vnext/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.cpp with the destructor and new API calls.

Link to the integration PR where the error originated

#16245

Link to react-native commit

react/react-native@f15985f...36f07a1

Forked files

No response

Upstream PR in react-native

No response

Build Configuration

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Integration Follow-upNeeds: Triage 🔍New issue that needs to be reviewed by the issue management team (label applied by bot)

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions