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

Commit

Permalink
Close underlying connections
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa committed Jun 4, 2015
1 parent 7c2493f commit be1ff23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyper/common/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __enter__(self): # pragma: no cover
return self

def __exit__(self, type, value, tb): # pragma: no cover
self.close()
self._conn.close()
return False # Never swallow exceptions.

# Can anyone say 'proxy object pattern'?
Expand Down

0 comments on commit be1ff23

Please sign in to comment.