Clear TransportAbort flag after stop

This fixes an issue with unresponsive transport controls after
an abort (e.g. post-export).
This commit is contained in:
Robin Gareus 2019-12-06 21:28:48 +01:00
parent a664a50ab7
commit 0700cb8165
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -1569,7 +1569,7 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
TransportStateChange (); /* EMIT SIGNAL */ TransportStateChange (); /* EMIT SIGNAL */
AutomationWatch::instance().transport_stop_automation_watches (_transport_sample); AutomationWatch::instance().transport_stop_automation_watches (_transport_sample);
ptw = PostTransportWork (ptw & ~(PostTransportStop|PostTransportClearSubstate)); ptw = PostTransportWork (ptw & ~(PostTransportAbort|PostTransportStop|PostTransportClearSubstate));
set_post_transport_work (ptw); set_post_transport_work (ptw);
} }