summaryrefslogtreecommitdiff
path: root/libs/ardour/session_export.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-02-09 21:36:49 +0100
committerRobin Gareus <robin@gareus.org>2016-02-09 21:36:49 +0100
commit1ec78d26ee7cd5a612a7f98f9977dbb8ef46a593 (patch)
tree4a9ffbb83e2ddb927ba0b21b42c8c8b516ea29a9 /libs/ardour/session_export.cc
parentd56a44bf362ec338b97808390fdf6190d0920fad (diff)
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()
Diffstat (limited to 'libs/ardour/session_export.cc')
-rw-r--r--libs/ardour/session_export.cc2
1 files changed, 1 insertions, 1 deletions
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 */