Fix a rare crash when closing a project

Fix #900
This commit is contained in:
Julien Duponchelle 2017-02-13 15:24:22 +01:00
parent defcf82610
commit 5639cbe860
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -367,6 +367,7 @@ class Controller:
return project
def remove_project(self, project):
if project.id in self._projects:
del self._projects[project.id]
@asyncio.coroutine