mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
For now: use a single lock, which should fix all related crashes. optimize (with less contended partial locks) if this works.
This commit is contained in:
parent
9e4b972286
commit
7a1ff7ce8f
6 changed files with 48 additions and 54 deletions
|
|
@ -89,7 +89,6 @@ EventLoop::invalidate_request (void* data)
|
|||
if (ir->event_loop) {
|
||||
{
|
||||
Glib::Threads::Mutex::Lock lm (ir->event_loop->slot_invalidation_mutex());
|
||||
Glib::Threads::Mutex::Lock lr (ir->event_loop->request_invalidation_mutex());
|
||||
for (list<BaseRequestObject*>::iterator i = ir->requests.begin(); i != ir->requests.end(); ++i) {
|
||||
(*i)->valid = false;
|
||||
(*i)->invalidation = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue