From 641dbfcaa2ea1b7d8ce2aa6058e191aa760f4791 Mon Sep 17 00:00:00 2001 From: Sakari Bergen Date: Thu, 6 Nov 2008 20:22:48 +0000 Subject: * Fix problem with JACK being left in freewheeling after export * Add quotes to cuefile filename entries git-svn-id: svn://localhost/ardour2/branches/3.0@4098 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_export.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libs/ardour/session_export.cc') diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc index 3ddceb6b00..0438d808a0 100644 --- a/libs/ardour/session_export.cc +++ b/libs/ardour/session_export.cc @@ -93,6 +93,7 @@ Session::pre_export () _exporting = true; export_status->running = true; export_abort_connection = export_status->Aborting.connect (sigc::hide_return (sigc::mem_fun (*this, &Session::stop_audio_export))); + export_abort_connection = export_status->Finished.connect (sigc::hide_return (sigc::mem_fun (*this, &Session::finalize_audio_export))); return 0; } @@ -214,9 +215,7 @@ Session::stop_audio_export () if (!export_status->aborted()) { ExportReadFinished (); - } - - if (export_status->finished()) { + } else { finalize_audio_export (); } -- cgit v1.2.3