mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Disabled cpp view managers in runtime
Summary: We found this feature crashing the app during hot reload, and as there is no user code dependent on it so far, we decided to disable it until we find the root cause. changelog: [internal] internal Reviewed By: mdvacca Differential Revision: D40445312 fbshipit-source-id: fe28b58c5dca6c91389ad38675ca37669a4965a0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
55fca7fd38
commit
31f219977d
@@ -377,9 +377,11 @@ void Binding::installFabricUIManager(
|
||||
<< this << ").";
|
||||
}
|
||||
|
||||
sharedCppComponentRegistry_ =
|
||||
std::shared_ptr<const facebook::react::CppComponentRegistry>(
|
||||
cppComponentRegistry ? cppComponentRegistry : nullptr);
|
||||
// TODO[T135327389]: Investigate why code relying on CppComponentRegistry
|
||||
// crashing during hot reload restart.
|
||||
// sharedCppComponentRegistry_ =
|
||||
// std::shared_ptr<const facebook::react::CppComponentRegistry>(
|
||||
// cppComponentRegistry ? cppComponentRegistry : nullptr);
|
||||
|
||||
// Use std::lock and std::adopt_lock to prevent deadlocks by locking mutexes
|
||||
// at the same time
|
||||
|
||||
Reference in New Issue
Block a user