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

Remove weak modifier (fixes issue #190) #203

Merged
merged 1 commit into from
Aug 2, 2019
Merged
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
2 changes: 1 addition & 1 deletion Sources/ParseLiveQuery/Internal/ClientPrivate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private func parseObject<T: PFObject>(_ objectDictionary: [String:AnyObject]) th

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