13
0

Prevent deadlock when removing routes w/o engine

This commit is contained in:
Robin Gareus 2018-11-26 03:31:02 +01:00
parent ae2a6175cc
commit dce81aecc5
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -3814,7 +3814,7 @@ Session::remove_routes (boost::shared_ptr<RouteList> 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 ();
}