cam: Initialize CamApp::loopUsers_
The CamApp loopUsers_ member variable isn't initialized, which results
in random execution of the event loop. Fix it.
Fixes: caa6ffacb2 ("cam: Reorganize run() function and merge the two event loops")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Tested-by: Umang Jain <umang.jain@ideasonboard.com>
This commit is contained in:
@@ -56,6 +56,7 @@ private:
|
||||
CamApp *CamApp::app_ = nullptr;
|
||||
|
||||
CamApp::CamApp()
|
||||
: loopUsers_(0)
|
||||
{
|
||||
CamApp::app_ = this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user