diff options
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r-- | libs/ardour/session_process.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index 319634499b..c3eb3aa296 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -843,9 +843,9 @@ Session::maybe_sync_start (pframes_t & nframes) void Session::queue_event (SessionEvent* ev) { - if (_state_of_the_state & Deletion) { + if (deletion_in_progress ()) { return; - } else if (_state_of_the_state & Loading) { + } else if (loading ()) { merge_event (ev); } else { Glib::Threads::Mutex::Lock lm (rb_write_lock); |