Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii committed Apr 3, 2021
1 parent fac12fe commit d98cf81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/BrightroomEngine/Engine/ImageRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ public final class ImageRenderer {
type(of: self).queue.async {
do {
let rendered = try self.render()
queue.async {
callbackQueue.async {
completion(.success(rendered))
}
} catch {
queue.async {
callbackQueue.async {
completion(.failure(error))
}
}
Expand Down

0 comments on commit d98cf81

Please sign in to comment.