mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Add log when we didn't close a project due to another client
This commit is contained in:
parent
4e16433a08
commit
f39f7be503
@ -141,6 +141,8 @@ class ProjectHandler:
|
||||
if ProjectHandler._notifications_listening == 0:
|
||||
yield from project.close()
|
||||
pm.remove_project(project.id)
|
||||
else:
|
||||
log.info("Skip project closing, another client is listening for project informations")
|
||||
response.set_status(204)
|
||||
|
||||
@classmethod
|
||||
|
Loading…
Reference in New Issue
Block a user