Skip to content

Commit

Permalink
when popping the future handle when the future doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
raman325 committed Sep 16, 2023
1 parent d1faffe commit e276afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zwave_js_server/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def async_send_command(
try:
return await future
finally:
self._result_futures.pop(message_id)
self._result_futures.pop(message_id, None)

async def async_send_command_no_wait(
self, message: dict[str, Any], require_schema: int | None = None
Expand Down

0 comments on commit e276afb

Please sign in to comment.