summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-03-18 15:33:05 +0100
committerRobin Gareus <robin@gareus.org>2019-03-18 15:36:58 +0100
commit4706201425e9ce7d8f4609cb920f4b28f261ee63 (patch)
treec802301407df9d92f307cd76feccc1bcd9ef2a2c /libs/ardour/io.cc
parentbd9d848058cd4b157388e9c8ef2f781554447d2a (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.cc2
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)