Fix camera removal detection after toggling monitoring on Linux
This commit is contained in:
parent
c6d130abd9
commit
ef833a9488
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ inline void CameraLinux::set_monitoring_feeds(bool p_monitoring_feeds) {
|
|||
|
||||
CameraServer::set_monitoring_feeds(p_monitoring_feeds);
|
||||
if (p_monitoring_feeds) {
|
||||
exit_flag.clear();
|
||||
camera_thread.start(CameraLinux::camera_thread_func, this);
|
||||
} else {
|
||||
exit_flag.set();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue