mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Prevent multiple projects with the same ID to be created.
This commit is contained in:
1 parent
349d9d4540
commit
54fc873be5
10 files changed
+61
-27
No files matched your search
@@ -105,6 +105,8 @@ class IOUVM(BaseVM):
|
||||
@asyncio.coroutine
|
||||
def close(self):
|
||||
|
||||
log.debug('IOU "{name}" [{id}] is closing'.format(name=self._name, id=self._id))
|
||||
|
||||
if self._console:
|
||||
self._manager.port_manager.release_tcp_port(self._console)
|
||||
self._console = None
|
||||
|
||||
Reference in new issue
Block a user