lib/pubnub/client/helpers.rb in pubnub-4.5.0 vs lib/pubnub/client/helpers.rb in pubnub-4.6.0
- old
+ new
@@ -32,10 +32,10 @@
@env[:req_dispatchers_pool][:sync] = {}
@env[:req_dispatchers_pool][:async] = {}
end
def clean_env
- @env.delete_if { |_, v| v.blank? } # nillify if blank
+ @env.delete_if { |_, v| v.blank? && v != false } # nillify if blank
end
end
end
end