From 3aacf8e6ab0e10a08e5b48d29ea35be29fe02a0c Mon Sep 17 00:00:00 2001 From: Phillip Pan Date: Mon, 23 Oct 2023 13:14:17 -0700 Subject: [PATCH] remove unused methodQueue from RCTHTTPRequestHandler (#41136) Summary: Changelog: [iOS][Breaking] You cannot call methodQueue on RCTHTTPRequestHandler the `synthesize methodQueue` API is confusing, it looks like an API only for use within native module implementation, but it's actually needed to create a selector that corresponds to the property declared in the `RCTBridgeModule` public protocol. no one is using the `methodQueue` on `RCTHTTPRequestHandler`, so let's get rid of the public access to it. Reviewed By: javache, cipolleschi Differential Revision: D50525900 --- packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm b/packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm index b7b2db1e57e398..8f21bf3e284682 100644 --- a/packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm +++ b/packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm @@ -32,7 +32,6 @@ @implementation RCTHTTPRequestHandler { } @synthesize moduleRegistry = _moduleRegistry; -@synthesize methodQueue = _methodQueue; RCT_EXPORT_MODULE()