This repository was archived by the owner on Oct 19, 2023. It is now read-only.
This repository was archived by the owner on Oct 19, 2023. It is now read-only.
Cannot stop the assistant using __exit__() function #208
Open
Description
Hi, I am using google assistant library python version on Raspberry Pi 3.
Everything has been working properly except that the exit() function does not stop the assistant. I have a main thread that invokes an assistant wrapper class, which will run assistant.start() in a separate thread. I realize that on the normal working condition, there will be 3 threads:
- main thread (main.py), 2) wrapper class's start() thread (AssistantThread.py) , and 3) the original assistant thread(Assistant.py)
However, when I call exit function, i realized that it always stuck at the wrapper class's start thread, because the original assistant.start() function does not return.
I am not sure what is the issue. Thanks.
Codes.zip