diff --git a/src/impl/apple/weak_realm_notifier.cpp b/src/impl/apple/weak_realm_notifier.cpp index da403ad7..0ce6300f 100644 --- a/src/impl/apple/weak_realm_notifier.cpp +++ b/src/impl/apple/weak_realm_notifier.cpp @@ -34,7 +34,7 @@ WeakRealmNotifier::WeakRealmNotifier(const std::shared_ptr& realm, bool c }; CFRunLoopSourceContext ctx{}; - ctx.info = new RefCountedWeakPointer{realm, {1}}; + ctx.info = new RefCountedWeakPointer{realm, {0}}; ctx.perform = [](void* info) { if (auto realm = static_cast(info)->realm.lock()) { realm->notify();