react-native-windows 0.81.31 → 0.81.32

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.
@@ -13,17 +13,23 @@ struct AbiCallInvoker final : facebook::react::CallInvoker {
13
13
  AbiCallInvoker(IReactContext const &context) : m_context(context) {}
14
14
 
15
15
  void invokeAsync(facebook::react::CallFunc &&func) noexcept override {
16
- m_context.CallInvoker().InvokeAsync(
17
- [context = m_context, func = std::move(func)](const winrt::Windows::Foundation::IInspectable &runtimeHandle) {
18
- func(GetOrCreateContextRuntime(context, runtimeHandle));
19
- });
16
+ auto callInvoker = m_context.CallInvoker();
17
+ if (callInvoker) {
18
+ callInvoker.InvokeAsync(
19
+ [context = m_context, func = std::move(func)](const winrt::Windows::Foundation::IInspectable &runtimeHandle) {
20
+ func(GetOrCreateContextRuntime(context, runtimeHandle));
21
+ });
22
+ }
20
23
  }
21
24
 
22
25
  void invokeSync(facebook::react::CallFunc &&func) override {
23
- m_context.CallInvoker().InvokeSync(
24
- [context = m_context, func = std::move(func)](const winrt::Windows::Foundation::IInspectable &runtimeHandle) {
25
- func(GetOrCreateContextRuntime(context, runtimeHandle));
26
- });
26
+ auto callInvoker = m_context.CallInvoker();
27
+ if (callInvoker) {
28
+ callInvoker.InvokeSync(
29
+ [context = m_context, func = std::move(func)](const winrt::Windows::Foundation::IInspectable &runtimeHandle) {
30
+ func(GetOrCreateContextRuntime(context, runtimeHandle));
31
+ });
32
+ }
27
33
  }
28
34
 
29
35
  private:
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.81.31</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.81.32</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>81</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>31</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>32</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>05739f63c54727e6f87c8b282ad84a06866801ec</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>5a6e5592f624d8c202aa94757243ef73bb51a5b0</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.81.31",
3
+ "version": "0.81.32",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",