Session should disconnect from all signals during its destruction, early

git-svn-id: svn://localhost/ardour2/branches/3.0@13601 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-12-05 16:07:30 +00:00
parent 932615d7a6
commit e8f610f375
1 changed files with 4 additions and 0 deletions

View File

@ -232,6 +232,10 @@ Session::destroy ()
_state_of_the_state = StateOfTheState (CannotSave|Deletion);
/* disconnect from any and all signals that we are connected to */
drop_connections ();
_engine.remove_session ();
/* deregister all ports - there will be no process or any other