Skip to content

Commit

Permalink
Merge branch 'release/cycle-3.112' into chore/add-logs-expiring-activity
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterinaWire authored Jul 1, 2024
2 parents 5b4863f + 1db7b91 commit 51c1c67
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ actor EventProcessor: UpdateEventProcessor {
}

private func enqueueTask(_ block: @escaping @Sendable () async throws -> Void) async throws {
defer { processingTask = nil }

processingTask = Task { [processingTask] in
_ = await processingTask?.result
_ = try await processingTask?.value
return try await block()
}

Expand Down

0 comments on commit 51c1c67

Please sign in to comment.