lib/libuv/fs_event.rb in libuv-3.1.9 vs lib/libuv/fs_event.rb in libuv-3.2.0
- old
+ new
@@ -28,10 +28,10 @@
if e
reject(e)
else
# notify of a change
- ::Fiber.new { defer.notify(filename, EVENTS[events]) }.resume
+ @reactor.exec { defer.notify(filename, EVENTS[events]) }
end
end
end
end