diff options
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r-- | libs/ardour/io.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index 59e452633a..5d6d343f2e 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -105,7 +105,7 @@ IO::~IO () void IO::disconnect_check (boost::shared_ptr<Port> a, boost::shared_ptr<Port> b) { - if (_session.state_of_the_state () & Session::Deletion) { + if (_session.deletion_in_progress ()) { return; } /* this could be called from within our own ::disconnect() method(s) |