Skip to content

Commit

Permalink
fix lock
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWoWander committed May 25, 2021
1 parent d7e62f9 commit a009e7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Down/AST/Styling/Stylers/DownStyler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,9 @@ open class DownStyler: Styler {
let image1String = NSAttributedString(attachment: image1Attachment)

str.setAttributedString(image1String)
semaphore.signal()
}

semaphore.signal()
}.resume()

semaphore.wait()
Expand Down

0 comments on commit a009e7e

Please sign in to comment.