Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit 8b824ff

Browse files
rostopiranoobs2ninjas
authored andcommitted
Remove weak modifier (fixes issue #190) (#203)
1 parent 71b2a69 commit 8b824ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ParseLiveQuery/Internal/ClientPrivate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private func parseObject<T: PFObject>(_ objectDictionary: [String:AnyObject]) th
3333

3434
extension Client {
3535
class SubscriptionRecord {
36-
weak var subscriptionHandler: AnyObject?
36+
var subscriptionHandler: AnyObject?
3737
// HandlerClosure captures the generic type info passed into the constructor of SubscriptionRecord,
3838
// and 'unwraps' it so that it can be used with just a 'PFObject' instance.
3939
// Technically, this should be a compiler no-op, as no witness tables should be used as 'PFObject' currently inherits from NSObject.

0 commit comments

Comments
 (0)