mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-05-11 09:08:29 +08:00
f7321f6d5b
Apparently, both job_status() == "dead" and ch_status() == "closed" isn't enough to guarantee all callbacks have run. One last sleep seems to do the trick, but let's also add a sanity check because this can cause confusing, hard to debug behavior.