From 97e07f4f4cfc8610a01f423074dff1e822cf3c99 Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Mon, 13 Apr 2020 01:59:12 +0200 Subject: [PATCH] Fix for #8005: Remove rec_box also when transport stopping. Under some circumstances the transport FSM is still in stopping state when ::non_realtime_stop() already emits TransportStatechange. In that case the rec boxes are not removed if we consider transport stopping == rolling. --- gtk2_ardour/audio_streamview.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/audio_streamview.cc b/gtk2_ardour/audio_streamview.cc index fe9ace43cc..25cd3c941a 100644 --- a/gtk2_ardour/audio_streamview.cc +++ b/gtk2_ardour/audio_streamview.cc @@ -196,7 +196,7 @@ AudioStreamView::setup_rec_box () { //cerr << _trackview.name() << " streamview SRB region_views.size() = " << region_views.size() << endl; - if (!_trackview.session()->transport_stopped()) { + if (!_trackview.session()->transport_stopped_or_stopping()) { // cerr << "\trolling\n";