mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-10 00:01:27 -04:00
close parser when there's a parser
This commit is contained in:
parent
fb31512c29
commit
d78230899b
@ -100,7 +100,7 @@ module HTTPX
|
||||
end
|
||||
|
||||
def close
|
||||
@parser.close
|
||||
@parser.close if @parser
|
||||
transition(:closing)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user