mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-28 11:35:35 +03:00
GH-512 Invoke agent.quit in neoVimStopped again
- We only close mach channels in quit()
This commit is contained in:
parent
4ed3c5de48
commit
1aaf2c931c
@ -186,6 +186,8 @@ extension NeoVimView {
|
||||
self.quitNeoVimCondition.signal()
|
||||
self.quitNeoVimCondition.unlock()
|
||||
|
||||
self.agent.quit()
|
||||
|
||||
gui.async {
|
||||
self.delegate?.neoVimStopped()
|
||||
}
|
||||
@ -206,10 +208,6 @@ extension NeoVimView {
|
||||
if event == .BUFREADPOST || event == .BUFWRITEPOST {
|
||||
self.currentBufferChanged(bufferHandle)
|
||||
}
|
||||
|
||||
if event == .VIMLEAVE {
|
||||
self.agent.quit()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user