Skip to content
Snippets Groups Projects
Commit 5f09c70d authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

communication: remove memory leak

parent f8d373d8
Branches
No related tags found
No related merge requests found
......@@ -117,6 +117,7 @@ class Client():
id = head["id"]
assert id in self.waiting_questions
q = self.waiting_questions[id]
del self.waiting_questions[id]
q.future.set_result((head, data_raw))
async def question(self, head, data):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment