We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e4ace9c + 273db05 commit c07fb9cCopy full SHA for c07fb9c
src/impl/apple/weak_realm_notifier.cpp
@@ -34,7 +34,7 @@ WeakRealmNotifier::WeakRealmNotifier(const std::shared_ptr<Realm>& realm, bool c
34
};
35
36
CFRunLoopSourceContext ctx{};
37
- ctx.info = new RefCountedWeakPointer{realm, {1}};
+ ctx.info = new RefCountedWeakPointer{realm, {0}};
38
ctx.perform = [](void* info) {
39
if (auto realm = static_cast<RefCountedWeakPointer*>(info)->realm.lock()) {
40
realm->notify();
0 commit comments