multicam: ensure node is disconnected when closing

This commit is contained in:
itsmattkc
2022-10-02 12:02:50 -07:00
parent 8a2f2912b4
commit 681e66f34c
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -262,6 +262,9 @@ void ViewerWidget::DisconnectNodeEvent(ViewerOutput *n)
timeline_selected_blocks_.clear();
node_view_selected_.clear();
if (multicam_panel_) {
multicam_panel_->SetMulticamNode(nullptr, nullptr, nullptr, rational::NaN);
}
CloseAudioProcessor();
audio_scrub_watchers_.clear();