Skip to content

Commit

Permalink
Fix a rare error when closing a project
Browse files Browse the repository at this point in the history
Fix #897
  • Loading branch information
julien-duponchelle committed Feb 13, 2017
1 parent 4fed986 commit defcf82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gns3server/controller/project.py
Expand Up @@ -536,7 +536,7 @@ def delete_snapshot(self, snapshot_id):
@asyncio.coroutine
def close(self, ignore_notification=False):
yield from self.stop_all()
for compute in self._project_created_on_compute:
for compute in list(self._project_created_on_compute):
try:
yield from compute.post("/projects/{}/close".format(self._id), dont_connect=True)
# We don't care if a compute is down at this step
Expand Down

0 comments on commit defcf82

Please sign in to comment.