diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-09 21:36:49 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-09 21:36:49 +0100 |
commit | 1ec78d26ee7cd5a612a7f98f9977dbb8ef46a593 (patch) | |
tree | 4a9ffbb83e2ddb927ba0b21b42c8c8b516ea29a9 /libs/ardour/session_export.cc | |
parent | d56a44bf362ec338b97808390fdf6190d0920fad (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.cc | 2 |
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 */ |