mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 23:02:35 +03:00
Refactor slightly
This commit is contained in:
parent
c197ace65c
commit
380d8f3d43
@ -87,6 +87,6 @@ extension PrimitiveSequence where TraitType == SingleTrait {
|
||||
}
|
||||
|
||||
private func broadcast(_ condition: NSCondition) {
|
||||
defer { condition.unlock() }
|
||||
condition.broadcast()
|
||||
condition.unlock()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user