amend prev commit
This commit is contained in:
parent
fa07233a17
commit
112fba182f
@ -307,8 +307,10 @@ AbstractUI<RequestObject>::handle_ui_requests ()
|
|||||||
|
|
||||||
if (req->invalidation) {
|
if (req->invalidation) {
|
||||||
DEBUG_TRACE (PBD::DEBUG::AbstractUI, string_compose ("%1/%2 remove request from its invalidation list\n", event_loop_name(), pthread_name()));
|
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::NOT_LOCK);
|
||||||
Glib::Threads::Mutex::Lock lm (req->invalidation->event_loop->request_invalidation_mutex());
|
if (req->invalidation->event_loop && req->invalidation->event_loop != this) {
|
||||||
|
lm.acquire ();
|
||||||
|
}
|
||||||
|
|
||||||
/* after this call, if the object referenced by the
|
/* after this call, if the object referenced by the
|
||||||
* invalidation record is deleted, it will no longer
|
* invalidation record is deleted, it will no longer
|
||||||
|
Loading…
Reference in New Issue
Block a user