Skip to content

Commit 09d8775

Browse files
authored
Make analytics var weak to prevent retain loop (#19)
1 parent a6c8f6a commit 09d8775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SegmentAppsFlyer/AppsFlyerDestination.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class AppsFlyerDestination: UIResponder, DestinationPlugin {
4343
public let type = PluginType.destination
4444
public let key = "AppsFlyer"
4545

46-
public var analytics: Analytics?
46+
public weak var analytics: Analytics?
4747

4848
fileprivate var settings: AppsFlyerSettings? = nil
4949

0 commit comments

Comments
 (0)