Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit be1ff23

Browse files
committed
Close underlying connections
1 parent 7c2493f commit be1ff23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/common/connection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __enter__(self): # pragma: no cover
113113
return self
114114

115115
def __exit__(self, type, value, tb): # pragma: no cover
116-
self.close()
116+
self._conn.close()
117117
return False # Never swallow exceptions.
118118

119119
# Can anyone say 'proxy object pattern'?

0 commit comments

Comments
 (0)