def force_stop(self): AbstractRole.force_stop(self) for thread in self.threads: thread.terminate() for thread in self.threads: thread.join()
def force_stop(self): AbstractRole.force_stop(self) for vm in self.virtual_machine : vm = self.virtual_machine[vm] if vm.getStatus() == "RUNNING" : vm.shutdown() self.webserver.server_close()
def force_stop(self): AbstractRole.force_stop(self) self.server.shutdown() for pid in list(self.processes): self.kill_process(pid)