Skip to content

Commit 55127ac

Browse files
fix: removed dead flush method (#389)
1 parent 7d47f4b commit 55127ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Segment/Plugins/SegmentDestination.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public class SegmentDestination: DestinationPlugin, Subscriber, FlushCompletion
108108
internal func enterForeground() { }
109109

110110
internal func enterBackground() {
111-
flush()
111+
analytics?.flush()
112112
}
113113

114114
// MARK: - Event Parsing Methods

0 commit comments

Comments
 (0)