diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-18 15:33:05 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-18 15:36:58 +0100 |
commit | 4706201425e9ce7d8f4609cb920f4b28f261ee63 (patch) | |
tree | c802301407df9d92f307cd76feccc1bcd9ef2a2c /libs/ardour/io.cc | |
parent | bd9d848058cd4b157388e9c8ef2f781554447d2a (diff) |
NO-OP: Use API to set/test state-of-the-state
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) |