Skip to content

Commit

Permalink
Make analytics var weak (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsneed authored Apr 18, 2024
1 parent dff2560 commit 9361036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SegmentAmplitude/AmplitudeSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class ObjCAmplitudeSession: NSObject, ObjCPlugin, ObjCPluginShim {
public class AmplitudeSession: EventPlugin, iOSLifecycle {
public var key = "Actions Amplitude"
public var type = PluginType.enrichment
public var analytics: Analytics?
public weak var analytics: Analytics?

var active = false

Expand Down

0 comments on commit 9361036

Please # to comment.