Skip to content

Commit fc785ef

Browse files
committed
oops
1 parent 87af0d4 commit fc785ef

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

SerialPrograms/Source/CommonFramework/VideoPipeline/VideoOverlaySession.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ void VideoOverlaySession::stats_thread(){
8282
}
8383
return false;
8484
});
85-
m_stat_lines = std::move(lines);
85+
{
86+
WriteSpinLock lg0(m_lock, PA_CURRENT_FUNCTION);
87+
m_stat_lines = std::move(lines);
88+
}
8689
m_stats_cv.wait_for(lg, std::chrono::milliseconds(100));
8790
}
8891
}

0 commit comments

Comments
 (0)