mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 23:36:08 +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) {
|
private func broadcast(_ condition: NSCondition) {
|
||||||
defer { condition.unlock() }
|
|
||||||
condition.broadcast()
|
condition.broadcast()
|
||||||
|
condition.unlock()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user