daemon: Explicitly close vnode clients at shutdown.

This commit is contained in:
Tom Goff 2016-03-04 16:57:17 -05:00
parent 5a58978f79
commit ef85995cc6
2 changed files with 5 additions and 6 deletions

View file

@ -43,6 +43,10 @@ class VnodeClient(object):
else:
return True
def close(self):
if USE_VCMD_MODULE:
self.cmdchnl.close()
def cmd(self, args, wait = True):
''' Execute a command on a node and return the status (return code).
'''