mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-12 20:38:23 +00:00
Support for link event, fix link not correctly deleted
This commit is contained in:
@ -223,7 +223,6 @@ class BaseNode:
|
||||
log.info("{module}: {name} [{id}] created".format(module=self.manager.module_name,
|
||||
name=self.name,
|
||||
id=self.id))
|
||||
self._project.emit("node.created", self)
|
||||
|
||||
@asyncio.coroutine
|
||||
def delete(self):
|
||||
@ -231,7 +230,6 @@ class BaseNode:
|
||||
Delete the node (including all its files).
|
||||
"""
|
||||
|
||||
self._project.emit("node.deleted", self)
|
||||
directory = self.project.node_working_directory(self)
|
||||
if os.path.exists(directory):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user