Better state cleaning in HostConnection.shutdown
This commit is contained in:
parent
26eb54a47b
commit
c59763815d
@ -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
Block a user