mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-02-05 17:37:45 +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.