Merge pull request #783 from datastax/python-762-shutdown

Better state cleaning in HostConnection.shutdown
This commit is contained in:
Alan Boudreault 2017-06-16 07:22:33 -04:00 committed by GitHub
commit 43f6928a69
1 changed files with 1 additions and 0 deletions

View File

@ -421,6 +421,7 @@ class HostConnection(object):
if self._connection:
self._connection.close()
self._connection = None
def _set_keyspace_for_all_conns(self, keyspace, callback):
if self.is_shutdown or not self._connection: