We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e75ec4a commit 22c5734Copy full SHA for 22c5734
Changelog.md
@@ -1,6 +1,8 @@
1
# Changelog
2
3
+
4
## 1.8.4
5
+- better memory management
6
- add drop beacon handler
7
8
## 1.8.3
Sources/InstanaAgent/Beacons/BeaconFlusher.swift
@@ -50,7 +50,13 @@ class BeaconFlusher {
50
let urlSession = URLSession(configuration: .default)
51
var errors = [Error]()
52
var retryStep: Int = 0
53
- private var flushItem: DispatchWorkItem?
+ private weak var flushItem: DispatchWorkItem? {
54
+ willSet {
55
+ flushItem?.cancel()
56
+ cancel()
57
+ }
58
59
60
private let completion: (BeaconFlusher.Result) -> Void
61
private let queue: DispatchQueue
62
private let externalSend: Sender? // Used for Unit Testing
0 commit comments