diff --git a/plug.vim b/plug.vim index cc002a2..cf04ab3 100644 --- a/plug.vim +++ b/plug.vim @@ -717,7 +717,7 @@ function! s:update_parallel(pull, todo, threads) } if running end end - threads.each { |t| t.join } + threads.each { |t| t.join rescue nil } mtx.synchronize { threads.clear } all.merge!(VIM::evaluate("s:extend(#{names.inspect})") || {}) logh.call