lib/async/scheduler.rb in async-1.28.8 vs lib/async/scheduler.rb in async-1.28.9
- old
+ new
@@ -66,9 +66,11 @@
return events
end
end
return false
+ rescue TimeoutError
+ return nil
ensure
wrapper.reactor = nil
end
# Wait for the specified process ID to exit.