Skip to content

Commit 73e1626

Browse files
committed
Modified equality check to specify pointer value.
1 parent 3a42e48 commit 73e1626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Segment/Analytics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ extension OperatingMode {
440440
// so instead, we're gonna use a worker, as our Dispatch
441441
// mechanisms only work when a queue is in place. Just
442442
// calling the task() wouldn't be enough.
443-
if queue == DispatchQueue.main {
443+
if queue === DispatchQueue.main {
444444
DispatchQueue.global(qos: .utility).sync {
445445
task()
446446
}

0 commit comments

Comments
 (0)