react-native-windows 0.72.18 → 0.72.19

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.
@@ -255,6 +255,11 @@ ReactInstanceWin::ReactInstanceWin(
255
255
  m_whenDestroyedResult =
256
256
  m_whenDestroyed.AsFuture().Then<Mso::Executors::Inline>([whenLoaded = m_whenLoaded,
257
257
  onDestroyed = m_options.OnInstanceDestroyed,
258
+ // instance might be the only thing keeping
259
+ // the propertyBag alive.
260
+ // We want it to remain alive for the
261
+ // InstanceDestroyed callbacks
262
+ propBag = m_options.Properties,
258
263
  reactContext = m_reactContext]() noexcept {
259
264
  whenLoaded.TryCancel(); // It only has an effect if whenLoaded was not set before
260
265
  Microsoft::ReactNative::HermesRuntimeHolder::storeTo(ReactPropertyBag(reactContext->Properties()), nullptr);
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.72.18</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.72.19</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>72</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>18</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>19</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>a4b80b743e8f0fcbf7166ecf55dcfe0b66c2d828</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>318d6227643ae6c9d080a1e3000c903104afa59b</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.72.18",
3
+ "version": "0.72.19",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",