lib/polyphony/core/channel.rb in polyphony-0.14 vs lib/polyphony/core/channel.rb in polyphony-0.15
- old
+ new
@@ -19,10 +19,10 @@
if @waiting_queue.empty?
@payload_queue << o
else
@waiting_queue.shift&.schedule(o)
end
- EV.snooze
+ snooze
end
def receive
EV.ref
if @payload_queue.empty?
\ No newline at end of file