mirror of
https://github.com/GNS3/gns3-server
synced 2025-03-29 23:05:43 +00: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:
|
if ProjectHandler._notifications_listening == 0:
|
||||||
yield from project.close()
|
yield from project.close()
|
||||||
pm.remove_project(project.id)
|
pm.remove_project(project.id)
|
||||||
|
else:
|
||||||
|
log.info("Skip project closing, another client is listening for project informations")
|
||||||
response.set_status(204)
|
response.set_status(204)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user