serialize timer updates to prevent cold dispatch collisions
This commit is contained in:
parent
3ad04abfed
commit
e7f21b980f
@ -562,7 +562,9 @@ extension NotificationOperation {
|
||||
guard isExecuting,
|
||||
!isCancelled else { return }
|
||||
self.log(message: "Operation Updated")
|
||||
updateStopTimer()
|
||||
displayableQueue.async(flags: .barrier) { [self] in
|
||||
updateStopTimer()
|
||||
}
|
||||
Task {
|
||||
await transitionDelegate.update(with: notificationModel, delegateObject: delegateObject)
|
||||
NotificationHandler.shared()?.onNotificationUpdated.send((notification, notificationModel))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user