lib/grumlin/request_dispatcher.rb in grumlin-1.1.0 vs lib/grumlin/request_dispatcher.rb in grumlin-1.2.0
- old
+ new
@@ -59,10 +59,10 @@
def ongoing_request?(request_id)
@requests.include?(request_id)
end
def clear
- @requests.each do |_id, request|
+ @requests.each_value do |request|
request[:channel].close!
end
@requests.clear
end