Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Network invalidate handlers to cleanup in turbo module mode (#41775)
Summary: We should do some cleanup for handlers in Networking to fix some memory leaks.Ex. `RCTHTTPRequestHandler` hander, `session` retains the handler which leads to leaks. https://github.com/facebook/react-native/blob/385473522cbc525aad08500f5a752dea734c14c3/packages/react-native/Libraries/Network/RCTHTTPRequestHandler.mm#L97 ## Changelog: [IOS] [FIXED] - Network invalidate handlers to cleanup in turbo module mode Pull Request resolved: #41775 Test Plan: Network handlers clean up after invalidating. Reviewed By: NickGerleman Differential Revision: D51846962 Pulled By: dmytrorykun fbshipit-source-id: 17a2875903cda187f2e3ecea46e8f7f3e10d5264
- Loading branch information