From 65fd0a09b17bc153598932557b357fbb99583554 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 19 Feb 2009 20:11:17 +0000 Subject: Fix crash on MIDI feedback with MTC (ticket #2419). git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4642 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_process.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libs') diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index 5891be2083..1a289807b3 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -54,8 +54,11 @@ Session::process (nframes_t nframes) } (this->*process_function) (nframes); - - SendFeedback (); /* EMIT SIGNAL */ + + { + Glib::Mutex::Lock lm (midi_lock, Glib::TRY_LOCK); + SendFeedback (); /* EMIT SIGNAL */ + } } void -- cgit v1.2.3