Skip to content

Commit

Permalink
Modified equality check to specify pointer value.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsneed committed Nov 16, 2023
1 parent 3a42e48 commit 73e1626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Segment/Analytics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ extension OperatingMode {
// so instead, we're gonna use a worker, as our Dispatch
// mechanisms only work when a queue is in place. Just
// calling the task() wouldn't be enough.
if queue == DispatchQueue.main {
if queue === DispatchQueue.main {
DispatchQueue.global(qos: .utility).sync {
task()
}
Expand Down

0 comments on commit 73e1626

Please sign in to comment.