mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-03-25 18:16:43 +08:00
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.