From 4706201425e9ce7d8f4609cb920f4b28f261ee63 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 18 Mar 2019 15:33:05 +0100 Subject: NO-OP: Use API to set/test state-of-the-state --- libs/ardour/io.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/io.cc') 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 a, boost::shared_ptr 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) -- cgit v1.2.3