SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

fix[HostTargetSessionObserverTest.cpp]: call unsubscribe to cleanup resource (#45701)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/45701

# Changelog: [Internal]

One weird thing is that this test actually never runs for Android, so its only compiled. I am not sure why exactly this one produces an error during execution, given that the next test is almost identical.

Nothing valuable from logcat, just a `SIGSEGV`. Since its something with memory, I've tried calling `unsubscribe`, same as in the next test to free memory before the test tear down (which should not run, because this test doesn't run).

Reviewed By: dmytrorykun

Differential Revision: D60282464

fbshipit-source-id: 2c7760f02c1128083f28651fe8ecd0f3cee27715
R
Ruslan Lesiutin committed
b5a5e9d51c6a43cdf7a58fd807442b53383a75f0
Parent: ac0c5fb
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 7/26/2024, 10:36:29 AM