1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 07:13:24 +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) { private func broadcast(_ condition: NSCondition) {
defer { condition.unlock() }
condition.broadcast() condition.broadcast()
condition.unlock()
} }