Skip to content

Commit

Permalink
plugins/videostream/VideoStream: Changed updater thread reset watchdog.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosousadias committed Nov 14, 2023
1 parent 300ae4d commit 8fe9497
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,7 @@ public void tick2() {
if (timer == -1) return;

if (System.currentTimeMillis() - timer > WATCH_DOG_LOOP_THREAD_TIMEOUT_MILLIS) {
captureLoopAtomicLongMillis.set(-1);
try {
Thread oldUpdater = updater;
oldUpdater.interrupt();
Expand Down

0 comments on commit 8fe9497

Please sign in to comment.