1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-25 23:02:35 +03:00

Refactor slightly

This commit is contained in:
Tae Won Ha 2019-03-13 15:44:05 +01:00
parent c197ace65c
commit 380d8f3d43
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -87,6 +87,6 @@ extension PrimitiveSequence where TraitType == SingleTrait {
}
private func broadcast(_ condition: NSCondition) {
defer { condition.unlock() }
condition.broadcast()
condition.unlock()
}