We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d12b7f commit 103fda2Copy full SHA for 103fda2
anki_vector/connection.py
@@ -611,6 +611,9 @@ async def play_animation():
611
"""
612
if self._control_events:
613
self._control_events.shutdown()
614
+ # need to wait until all Futures were cancled before going on,
615
+ # otherwise python 3.8+ will raise alot of CancelledErrors and
616
+ time.sleep(2)
617
if self._control_stream_task:
618
self._control_stream_task.cancel()
619
self.run_coroutine(self._control_stream_task).result()
0 commit comments