websocket-driver 0.2.2-java → 0.2.3-java

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.2.3 / 2013-08-04
2
+
3
+ * Fix bug in EventEmitter#emit when listeners are removed
4
+
1
5
  ### 0.2.2 / 2013-08-04
2
6
 
3
7
  * Fix bug in EventEmitter#listener_count for unregistered events
@@ -27,7 +27,7 @@ module WebSocket
27
27
  end
28
28
 
29
29
  def emit(event, *args)
30
- @listeners[event.to_s].each do |listener|
30
+ @listeners[event.to_s].dup.each do |listener|
31
31
  listener.call(*args)
32
32
  end
33
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: websocket-driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: java
7
7
  authors: