Ignore occasional error from Ruby 1.8.7

Related: https://bugs.ruby-lang.org/issues/1471
This commit is contained in:
Junegunn Choi 2014-07-13 22:02:11 +09:00
parent 344f80aedb
commit c3cf35abb5

View File

@ -717,7 +717,7 @@ function! s:update_parallel(pull, todo, threads)
} if running } if running
end end
end end
threads.each { |t| t.join } threads.each { |t| t.join rescue nil }
mtx.synchronize { threads.clear } mtx.synchronize { threads.clear }
all.merge!(VIM::evaluate("s:extend(#{names.inspect})") || {}) all.merge!(VIM::evaluate("s:extend(#{names.inspect})") || {})
logh.call logh.call