diff --git a/change/react-native-windows-2d2547a4-0134-4bab-9e67-0b4997c13e26.json b/change/react-native-windows-2d2547a4-0134-4bab-9e67-0b4997c13e26.json new file mode 100644 index 00000000000..95f084e13d2 --- /dev/null +++ b/change/react-native-windows-2d2547a4-0134-4bab-9e67-0b4997c13e26.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Change multi_threaded_map to single_threaded_map in WinRTHttpResource", + "packageName": "react-native-windows", + "email": "lyahdav@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/vnext/Shared/Networking/WinRTHttpResource.cpp b/vnext/Shared/Networking/WinRTHttpResource.cpp index 6022450205b..2ba52e4d04f 100644 --- a/vnext/Shared/Networking/WinRTHttpResource.cpp +++ b/vnext/Shared/Networking/WinRTHttpResource.cpp @@ -397,7 +397,7 @@ WinRTHttpResource::PerformSendRequest(HttpMethod &&method, Uri &&rtUri, IInspect // Ensure background thread co_await winrt::resume_background(); - auto props = winrt::multi_threaded_map(); + auto props = winrt::single_threaded_map(); props.Insert(L"RequestArgs", coArgs); auto coRequestOp = CreateRequest(std::move(coMethod), std::move(coUri), props);