wj_eventmachine 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/em/pure_ruby.rb +5 -2
- data/lib/em/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af5e54137b08662c3cbaaea75e0bbe9706501e49caa0bec17d68175c747a3d71
|
4
|
+
data.tar.gz: ee40203258d0fc85fb6c38167118626dbb476de042e7ce1b320b8ee13b8cbf49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cf83ae48d86c4ab89608f2601f7603f38bf4af46c4ab121a7efe7483bfeeec679a9e1e5b0128b08220687f887b02edaa331d04660b43fc22988efdd8f45c06a
|
7
|
+
data.tar.gz: 5408daaefbba21d7da27754d399a3bd9a92d4ff9035050251340b151b5d7b6edb1762a2a940fbaeb434ef39d223cee57f9734c49138e9281d52ed135689ee77c
|
data/lib/em/pure_ruby.rb
CHANGED
@@ -581,12 +581,15 @@ module EventMachine
|
|
581
581
|
if t.first <= @current_loop_time
|
582
582
|
#@timers.delete t
|
583
583
|
timers_to_delete << t
|
584
|
-
|
584
|
+
|
585
585
|
else
|
586
586
|
break
|
587
587
|
end
|
588
588
|
}
|
589
|
-
timers_to_delete.map{|c|
|
589
|
+
timers_to_delete.map{|c|
|
590
|
+
EventMachine::event_callback "", TimerFired, c.last
|
591
|
+
@timers.delete c
|
592
|
+
}
|
590
593
|
timers_to_delete = nil
|
591
594
|
#while @timers.length > 0 and @timers.first.first <= now
|
592
595
|
# t = @timers.shift
|
data/lib/em/version.rb
CHANGED