Skip to content

Commit eb7bfc6

Browse files
[PM-28339] Move subscription completion into the queue
1 parent 11b38ee commit eb7bfc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BitwardenKit/Core/Platform/Utilities/FetchedResultsPublisher.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ private final class FetchedResultsSubscription<SubscriberType, ResultType, Outpu
147147
}
148148
}
149149
} catch {
150-
subscriber.receive(completion: .failure(error))
150+
self.queue.async {
151+
self.subscriber?.receive(completion: .failure(error))
152+
}
151153
}
152154
}
153155
}

0 commit comments

Comments
 (0)