13
0

clear PostTransportStop from post_transport_work immediately after Session::non_realtime_stop() has finished its work

This commit is contained in:
Paul Davis 2020-07-05 17:47:51 -06:00
parent c1226eca73
commit 132aae385a

View File

@ -1554,6 +1554,8 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
SaveSessionRequested (_current_snapshot_name);
}
set_post_transport_work (PostTransportWork (post_transport_work() & ~PostTransportStop));
PositionChanged (_transport_sample); /* EMIT SIGNAL */
DEBUG_TRACE (DEBUG::Transport, string_compose ("send TSC with speed = %1\n", _transport_speed));
TransportStateChange (); /* EMIT SIGNAL */