commit | b26178ec38c1785d9f578fc90dc33a8fc7f843d8 | [log] [tgz] |
---|---|---|
author | Xiaoyu Ye <quic_xiaoyuy@quicinc.com> | Mon May 23 22:44:45 2022 -0700 |
committer | Xiaoyu Ye <quic_xiaoyuy@quicinc.com> | Tue May 24 12:16:40 2022 -0700 |
tree | f1b92b44beef16a85abd57c90032daf0ee5d64ef | |
parent | 2396a51548e2a346164ee5d71a2b2a129b0e1702 [diff] |
sthal: add a check to skip client detection callback To prevent a race condition when stop recognition is called immediately after start recognition is done but client detection callback is not called, add a check in function pal_callback to invoke callback function only when the session state is active. Change-Id: I6f2fe264afef522a2afece128710014ea10f0be9