Skip to content

Commit 9eb9f97

Browse files
committed
Fixed atomic set
1 parent da8c497 commit 9eb9f97

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

Package.resolved

Lines changed: 13 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let package = Package(
1919
dependencies: [
2020
// Dependencies declare other packages that this package depends on.
2121
// .package(url: /* package url */, from: "1.0.0"),
22-
.package(url: "https://github.com/segmentio/analytics-swift.git", from: "1.4.8")
22+
.package(url: "https://github.com/segmentio/analytics-swift.git", from: "1.6.0")
2323
],
2424
targets: [
2525
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

Sources/SegmentConsent/Manager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ extension ConsentManager {
8181
}
8282

8383
public func start() {
84-
started = true
84+
_started.set(true)
8585
// replay events. they'll be sent back through the system and get stamped above.
8686
for event in queuedEvents {
8787
analytics?.process(event: event)

0 commit comments

Comments
 (0)