react-native-windows 0.75.15 → 0.75.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.75.15</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.75.16</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>75</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>15</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>16</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>81be93a4099bcd296a9aec9ee1904c9f93bb7fea</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>c4e3f9b1c29185e92506d944a1db418e9ccede31</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
@@ -290,6 +290,10 @@ fire_and_forget WinRTWebSocketResource2::PerformWrite(string &&message, bool isB
290
290
  }
291
291
 
292
292
  IAsyncAction WinRTWebSocketResource2::SendPendingMessages() noexcept {
293
+ // Enforcing execution in the background queue.
294
+ // Awaiting of this coroutine will schedule its execution in the thread pool, ignoring the intended dispatch queue.
295
+ co_await resume_in_queue(m_backgroundQueue);
296
+
293
297
  auto self = shared_from_this();
294
298
 
295
299
  while (!self->m_outgoingMessages.empty()) {
@@ -334,6 +338,7 @@ IAsyncAction WinRTWebSocketResource2::SendPendingMessages() noexcept {
334
338
  auto result = async.ErrorCode();
335
339
  if (result < 0) {
336
340
  Fail(std::move(result), ErrorType::Send);
341
+ co_return;
337
342
  }
338
343
  }
339
344
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.75.15",
3
+ "version": "0.75.16",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",