Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <memory>
#include <mutex>
#include <shared_mutex>

#include <react/renderer/core/EventEmitter.h>
#include <react/renderer/core/InstanceHandle.h>
Expand Down Expand Up @@ -145,7 +144,7 @@ class ShadowNodeFamily final : public jsi::NativeState {

EventDispatcher::Weak eventDispatcher_;
std::shared_ptr<const State> mostRecentState_;
mutable std::shared_mutex mutex_;
mutable std::mutex mutex_;

std::function<void(ShadowNodeFamily &family)> onUnmountedFamilyDestroyedCallback_ = nullptr;

Expand Down