+1
−0
+24
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
In order to read the data after keyword detection event, a thread is
created to read the buffers in ping-pong manner. When command to stop
buffering is received, it is possible that thread is not completely
exited before the buffers are de-allocated. In such case, the thread
results into an crash due to null-pointer dereference. Fix the crash by
making sure the buferring thread has exited before de-allocating the
buffers.
Change-Id: Ic0d5a851c5cc374ce472c53282a319aeceda1243
Signed-off-by:
Bhalchandra Gajare <gajare@codeaurora.org>