lib/async/scheduler.rb in async-1.29.1 vs lib/async/scheduler.rb in async-1.29.2
- old
+ new
@@ -69,10 +69,10 @@
return false
rescue TimeoutError
return nil
ensure
- wrapper.reactor = nil
+ wrapper&.reactor = nil
end
# Wait for the specified process ID to exit.
# @parameter pid [Integer] The process ID to wait for.
# @parameter flags [Integer] A bit-mask of flags suitable for `Process::Status.wait`.