summaryrefslogtreecommitdiffstats
path: root/lib/iotas/spin.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/iotas/spin.rb')
-rw-r--r--lib/iotas/spin.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/iotas/spin.rb b/lib/iotas/spin.rb
index bdf35bf..1f3c180 100644
--- a/lib/iotas/spin.rb
+++ b/lib/iotas/spin.rb
@@ -128,11 +128,11 @@ module Iotas
while @run and (@sys_fifo.length>0 or @app_fifo.length>0)
while @run and @sys_fifo.length>0
p = @sys_fifo.shift
- p.dst_reached!.process_sys_p p
+ p.dst.process_sys_p p
end
while @run and @app_fifo.length>0
p = @app_fifo.shift
- p.dst_reached!.process_p p
+ p.dst.process_p p
break
end
end