From 1ec78d26ee7cd5a612a7f98f9977dbb8ef46a593 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 9 Feb 2016 21:36:49 +0100 Subject: Fix crash when aborting export. The "Stop" button results in ExportHandlerPtr being destroyed. This must not happen while it's in use -- in particular during ExportHandler::start_timespan() and ExportHandler::finish_timespan() --- libs/ardour/session_export.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/session_export.cc') diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc index ea4a07dd1f..8908716965 100644 --- a/libs/ardour/session_export.cc +++ b/libs/ardour/session_export.cc @@ -87,7 +87,7 @@ Session::pre_export () config.set_external_sync (false); _exporting = true; - export_status->running = true; + export_status->set_running (true); export_status->Finished.connect_same_thread (*this, boost::bind (&Session::finalize_audio_export, this)); /* disable MMC output early */ -- cgit v1.2.3