Преглед на файлове

Ignore occasional error from Ruby 1.8.7

Related: https://bugs.ruby-lang.org/issues/1471
Junegunn Choi преди 11 години
родител
ревизия
c3cf35abb5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      plug.vim

+ 1 - 1
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