Merge pull request #783 from datastax/python-762-shutdown
Better state cleaning in HostConnection.shutdown
This commit is contained in:
commit
43f6928a69
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue