mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
1 parent
b1ef49672e
commit
986ab649d7
2 files changed
+4
-3
No files matched your search
@@ -153,7 +153,7 @@ class ProjectHandler:
|
||||
|
||||
pm = ProjectManager.instance()
|
||||
project = pm.get_project(request.match_info["project_id"])
|
||||
if ProjectHandler._notifications_listening == 0:
|
||||
if ProjectHandler._notifications_listening <= 1:
|
||||
yield from project.close()
|
||||
pm.remove_project(project.id)
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user