From: Robin Gareus Date: Mon, 26 Nov 2018 02:31:02 +0000 (+0100) Subject: Prevent deadlock when removing routes w/o engine X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=commitdiff_plain;h=dce81aecc54b9ed286ec502a2e45f4da6200d056 Prevent deadlock when removing routes w/o engine --- diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index ae354646b9..f5920f96e4 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -3814,7 +3814,7 @@ Session::remove_routes (boost::shared_ptr routes_to_remove) resort_routes (); #endif - if (_process_graph && !(_state_of_the_state & Deletion)) { + if (_process_graph && !(_state_of_the_state & Deletion) && _engine.running()) { _process_graph->clear_other_chain (); }