13
0

amend prev commit

This commit is contained in:
Robin Gareus 2016-12-14 00:51:40 +01:00
parent fa07233a17
commit 112fba182f

View File

@ -307,8 +307,10 @@ AbstractUI<RequestObject>::handle_ui_requests ()
if (req->invalidation) {
DEBUG_TRACE (PBD::DEBUG::AbstractUI, string_compose ("%1/%2 remove request from its invalidation list\n", event_loop_name(), pthread_name()));
assert (req->invalidation->event_loop && req->invalidation->event_loop != this);
Glib::Threads::Mutex::Lock lm (req->invalidation->event_loop->request_invalidation_mutex());
Glib::Threads::Mutex::Lock lm (req->invalidation->event_loop->request_invalidation_mutex(), Glib::Threads::NOT_LOCK);
if (req->invalidation->event_loop && req->invalidation->event_loop != this) {
lm.acquire ();
}
/* after this call, if the object referenced by the
* invalidation record is deleted, it will no longer