From e8f610f375948d2f044b810483a5ef9d9efff0d9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 5 Dec 2012 16:07:30 +0000 Subject: 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 --- libs/ardour/session.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ardour/session.cc') 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 -- cgit v1.2.3