mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix EXC_BAD_ACCESS within RCTInspectorNetworkReporter (#50952)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50952 Changelog: [Internal] Reviewed By: javache Differential Revision: D73720844 fbshipit-source-id: 5acde68e811782a1a402ad633b56c7bdd9b7ea22
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9345c88a61
commit
7a919d6966
@@ -667,11 +667,11 @@ RCT_EXPORT_MODULE()
|
||||
}
|
||||
_tasksByRequestID[task.requestID] = task;
|
||||
responseSender(@[ task.requestID ]);
|
||||
[RCTInspectorNetworkReporter reportRequestStart:task.requestID
|
||||
request:request
|
||||
encodedDataLength:task.response.expectedContentLength];
|
||||
}
|
||||
|
||||
[RCTInspectorNetworkReporter reportRequestStart:task.requestID
|
||||
request:request
|
||||
encodedDataLength:task.response.expectedContentLength];
|
||||
[task start];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user