Stop Dynamips hypervisors used by devices before the project is closed.

This is to avoid locked files by hypervisors preventing temporary project working directories to be deleted.
This commit is contained in:
grossmj committed 2015-03-01 19:20:33 -07:00
1 parent 3ef529fb0e
commit c48ca212bd
3 files changed
+23 -3

No files matched your search

@@ -121,6 +121,8 @@ class ProjectHandler:
pm = ProjectManager.instance()
project = pm.get_project(request.match_info["project_id"])
for module in MODULES:
yield from module.instance().project_closing(project)
yield from project.close()
for module in MODULES:
yield from module.instance().project_closed(project)