mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Fix bug when starting of vpcs stopped with "quit". Fixes https://github.com/GNS3/gns3-gui/issues/3110
This commit is contained in:
parent
4c339eade1
commit
9e6ccc3f61
@ -260,10 +260,11 @@ class VPCSVM(BaseNode):
|
||||
|
||||
if self._started:
|
||||
log.info("VPCS process has stopped, return code: %d", returncode)
|
||||
await self._stop_ubridge()
|
||||
self._started = False
|
||||
self.status = "stopped"
|
||||
self._process = None
|
||||
await self._stop_ubridge()
|
||||
await super().stop()
|
||||
if returncode != 0:
|
||||
self.project.emit("log.error", {"message": "VPCS process has stopped, return code: {}\n{}".format(returncode, self.read_vpcs_stdout())})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user