diff options
author | David Robillard <d@drobilla.net> | 2009-02-19 20:11:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-19 20:11:17 +0000 |
commit | 65fd0a09b17bc153598932557b357fbb99583554 (patch) | |
tree | 25dd89aa70f4f24515b1a8f9ec04a93e6eb696a6 | |
parent | a42e9393a14c9d5d744eb3eff9df5ce6ae46a5c3 (diff) |
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
-rw-r--r-- | libs/ardour/session_process.cc | 7 |
1 files changed, 5 insertions, 2 deletions
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 |