Don't resort routes at every step during a session's
construction; speeds up loading of big sessions. git-svn-id: svn://localhost/ardour2/branches/3.0@10308 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ebca0ae87d
commit
8326ba9066
|
@ -1327,10 +1327,11 @@ void
|
|||
Session::resort_routes ()
|
||||
{
|
||||
/* don't do anything here with signals emitted
|
||||
by Routes while we are being destroyed.
|
||||
by Routes during initial setup or while we
|
||||
are being destroyed.
|
||||
*/
|
||||
|
||||
if (_state_of_the_state & Deletion) {
|
||||
if (_state_of_the_state & (InitialConnecting | Deletion)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue