From c3cf35abb52d9a895544740a4f53ab1563e16d3a Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 13 Jul 2014 22:02:11 +0900 Subject: [PATCH] Ignore occasional error from Ruby 1.8.7 Related: https://bugs.ruby-lang.org/issues/1471 --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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