diff --git a/NvimView/NvimView/RxSwiftCommons.swift b/NvimView/NvimView/RxSwiftCommons.swift index f7f491c6..74633edc 100644 --- a/NvimView/NvimView/RxSwiftCommons.swift +++ b/NvimView/NvimView/RxSwiftCommons.swift @@ -87,6 +87,6 @@ extension PrimitiveSequence where TraitType == SingleTrait { } private func broadcast(_ condition: NSCondition) { - defer { condition.unlock() } condition.broadcast() + condition.unlock() }