From cb07abc94ea57212d316dae352a82748659c9d82 Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Fri, 12 Feb 2021 01:07:48 +0000 Subject: [PATCH] unused condition in pool --- lib/httpx/pool.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/httpx/pool.rb b/lib/httpx/pool.rb index 95fc23de..e615c02e 100644 --- a/lib/httpx/pool.rb +++ b/lib/httpx/pool.rb @@ -135,7 +135,6 @@ module HTTPX connection.on(:close) do unregister_connection(connection) end - return if connection.state == :open end def unregister_connection(connection)