Better state cleaning in HostConnection.shutdown

This commit is contained in:
Alan Boudreault 2017-06-15 14:09:06 -04:00
parent 26eb54a47b
commit c59763815d
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: