After exporting a time-span, the next time-span was started directly from the rt-callback. This had various issues. In particular with realtime export.
Post-processing of a realtime-export enables freewheeling and is driven by freewheel callbacks. Freewheeling needs to be safely disabled for an upcoming realtime export.
A similar issues existed when mixing realtime and non-realtime exports.
1851440863 Fix realtime export of multiple time-spans
libs/ardour/ardour/export_handler.h | 2 ++
libs/ardour/export_graph_builder.cc | 10 +++++++++-
libs/ardour/export_handler.cc | 28 ++++++++++++++++++++++++++--
libs/ardour/session_export.cc | 25 +++++++++++++++++++++----
4 files changed, 58 insertions(+), 7 deletions(-)