Skip to content

Commit

Permalink
Make analytics var weak to prevent retain loop
Browse files Browse the repository at this point in the history
  • Loading branch information
bsneed committed May 14, 2024
1 parent a6c8f6a commit fa1da88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SegmentAppsFlyer/AppsFlyerDestination.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class AppsFlyerDestination: UIResponder, DestinationPlugin {
public let type = PluginType.destination
public let key = "AppsFlyer"

public var analytics: Analytics?
public weak var analytics: Analytics?

fileprivate var settings: AppsFlyerSettings? = nil

Expand Down

0 comments on commit fa1da88

Please sign in to comment.