diff options
author | Johannes Mueller <github@johannes-mueller.org> | 2020-04-13 01:59:12 +0200 |
---|---|---|
committer | Johannes Mueller <github@johannes-mueller.org> | 2020-04-13 02:05:36 +0200 |
commit | 97e07f4f4cfc8610a01f423074dff1e822cf3c99 (patch) | |
tree | 1290f6cbf19dcc1fccabed0fb20f7431bfb33721 /gtk2_ardour/audio_streamview.cc | |
parent | 6df03b2f1fa68a7c1056a38d0b570996b92a56ce (diff) |
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.
Diffstat (limited to 'gtk2_ardour/audio_streamview.cc')
-rw-r--r-- | gtk2_ardour/audio_streamview.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |