def destroy(self, path): # fusermount -u or SIGINT aka control-C
self.lfs_status = FRDnode.SOC_STATUS_OFFLINE
self.librarian(self.lcp('update_node_soc_status',
status=FRDnode.SOC_STATUS_OFFLINE,
cpu_percent=0,
rootfs_percent=0,
network_in=0,
network_out=0,
mem_percent=0))
self.librarian(self.lcp('update_node_mc_status',
status=FRDFAModule.MC_STATUS_OFFLINE))
assert threading.current_thread() is threading.main_thread()
self.torms.close()
del self.torms
# helpers
评论列表
文章目录