Merge branch 'master' into hashremoval

This commit is contained in:
itsmattkc
2022-05-29 11:18:58 -07:00
30 changed files with 346 additions and 157 deletions
+2
View File
@@ -783,12 +783,14 @@ void PreviewAutoCacher::SetViewerNode(ViewerOutput *viewer_node)
if (!video_tasks_.isEmpty()) {
// Cancel any video tasks and wait for them to finish
CancelVideoTasks(true);
video_tasks_.clear();
}
// Handle audio rendering tasks
if (!audio_tasks_.isEmpty()) {
// Cancel any audio tasks and wait for them to finish
CancelAudioTasks(true);
audio_tasks_.clear();
}
// Clear any single frame render that might be queued