Fix another crash at exit.
This commit is contained in:
parent
22ff03ff60
commit
f521bdb9dc
@ -241,7 +241,9 @@ AbstractUI<RequestObject>::handle_ui_requests ()
|
||||
if (vec.buf[0]->invalidation) {
|
||||
DEBUG_TRACE (PBD::DEBUG::AbstractUI, string_compose ("%1: removing invalidation record for that request\n", event_loop_name()));
|
||||
Glib::Threads::Mutex::Lock lm (request_invalidation_lock);
|
||||
vec.buf[0]->invalidation->requests.remove (vec.buf[0]);
|
||||
if (!(*i).second->dead) {
|
||||
vec.buf[0]->invalidation->requests.remove (vec.buf[0]);
|
||||
}
|
||||
} else {
|
||||
DEBUG_TRACE (PBD::DEBUG::AbstractUI, string_compose ("%1: no invalidation record for that request\n", event_loop_name()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user