mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-23 12:21:11 +03: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…
x
Reference in New Issue
Block a user