Add check for valid zk attribute before disconnect

Change-Id: Iaecdd25c23d6524986adeb9a4edfffbbf2c014e5
This commit is contained in:
David Shrewsbury 2017-03-23 08:25:09 -04:00
parent 6e206087df
commit e9272a8b98

View File

@ -1338,6 +1338,7 @@ class NodePool(threading.Thread):
if self.isAlive():
self.join()
if self.zk:
self.zk.disconnect()
self.log.debug("Finished stopping")