mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-22 16:34:05 +01:00
trigger lazy initialization of ObjectPublisher observation after addObserver() (fixes #383)
This commit is contained in:
1 parent
73b7fcd907
commit
4049e1944a
1 file changed
+1
@@ -95,6 +95,7 @@ public final class ObjectPublisher<O: DynamicObject>: ObjectRepresentation, Hash
|
|||||||
Internals.Closure(callback),
|
Internals.Closure(callback),
|
||||||
forKey: observer
|
forKey: observer
|
||||||
)
|
)
|
||||||
|
_ = self.lazySnapshot
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user