diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-05 16:07:30 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-05 16:07:30 +0000 |
commit | e8f610f375948d2f044b810483a5ef9d9efff0d9 (patch) | |
tree | fa70eb24573d29f721602fc6837a9b52152e0010 /libs | |
parent | 932615d7a65b1294666965857b7d659dae229962 (diff) |
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
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 80eab3571f..ccf4cb2b86 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -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 |