utils: ipc: proxy: Process pending messages
Events may be queued to the pipeline handler between the pipeline handler entering the ::stop() function, and before the call to stop the IPA has completed. Handle these events by dispatching all pending messages at the proxy after the IPA has fully stopped. Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
f041482add
commit
b50c12bf18
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@
|
|||
thread_.exit();
|
||||
thread_.wait();
|
||||
|
||||
Thread::current()->dispatchMessages(Message::Type::InvokeMessage);
|
||||
|
||||
running_ = false;
|
||||
{%- endmacro -%}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue