daemon: Explicitly close vnode clients at shutdown.
This commit is contained in:
parent
5a58978f79
commit
ef85995cc6
2 changed files with 5 additions and 6 deletions
|
@ -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).
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue