mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-19 02:15:05 +03:00
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:
parent
e0704e97ea
commit
951df850ad
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ private:
|
|||
CamApp *CamApp::app_ = nullptr;
|
||||
|
||||
CamApp::CamApp()
|
||||
: loopUsers_(0)
|
||||
{
|
||||
CamApp::app_ = this;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue