Make sure the session is shutdown on destruction

This commit is contained in:
Alan Boudreault
2017-07-12 06:44:05 -04:00
parent c46377d069
commit 7fe910a87c

View File

@@ -2325,6 +2325,9 @@ class Session(object):
def __exit__(self, *args):
self.shutdown()
def __del__(self):
self.shutdown()
def add_or_renew_pool(self, host, is_host_addition):
"""
For internal use only.