Skip to content

Commit f44c490

Browse files
committed
Merge pull request #108584 from shiena/fix/linux-camera-flag
Fix camera removal detection after toggling monitoring on Linux
2 parents 1d8e738 + ef833a9 commit f44c490

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/camera/camera_linux.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ inline void CameraLinux::set_monitoring_feeds(bool p_monitoring_feeds) {
169169

170170
CameraServer::set_monitoring_feeds(p_monitoring_feeds);
171171
if (p_monitoring_feeds) {
172+
exit_flag.clear();
172173
camera_thread.start(CameraLinux::camera_thread_func, this);
173174
} else {
174175
exit_flag.set();

0 commit comments

Comments
 (0)