lib/lightio/core/backend/nio.rb in lightio-0.1.1 vs lib/lightio/core/backend/nio.rb in lightio-0.2.0

- old
+ new

@@ -105,12 +105,10 @@ end def handle_selectables @selector.select(0) do |monitor| # invoke callback if io is ready - if monitor.readiness - monitor.value.call(monitor.io) - end + monitor.value.call(monitor.io) end end def run_callbacks while (callback = @callbacks.shift) \ No newline at end of file