Revert "bugfix" (#8298)

* Revert "bugfix (#3280)"

This reverts commit 0fb0dd43b9.

* Remove duplicate check
This commit is contained in:
Chris Marslender 2021-09-01 17:10:29 -07:00 committed by GitHub
parent 0fb0dd43b9
commit 8ef39bb6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,9 +37,8 @@ class DaemonProxy:
id = decoded["request_id"]
if id in self._request_dict:
if id in self.response_dict:
self.response_dict[id] = decoded
self._request_dict[id].set()
self.response_dict[id] = decoded
self._request_dict[id].set()
asyncio.create_task(listener())
await asyncio.sleep(1)