Add some more invalidation debug messages.
This commit is contained in:
@@ -87,6 +87,7 @@ EventLoop::invalidate_request (void* data)
|
||||
*/
|
||||
|
||||
if (ir->event_loop) {
|
||||
DEBUG_TRACE (PBD::DEBUG::AbstractUI, string_compose ("%1: EventLoop::invalidate_request %2\n", ir->event_loop, ir));
|
||||
{
|
||||
Glib::Threads::Mutex::Lock lm (ir->event_loop->slot_invalidation_mutex());
|
||||
for (list<BaseRequestObject*>::iterator i = ir->requests.begin(); i != ir->requests.end(); ++i) {
|
||||
@@ -96,6 +97,8 @@ EventLoop::invalidate_request (void* data)
|
||||
}
|
||||
// should this not always be deleted, regardless if there's an event_loop?
|
||||
delete ir;
|
||||
} else {
|
||||
DEBUG_TRACE (PBD::DEBUG::AbstractUI, string_compose ("EventLoop::invalidate_request no event-loop for invalidation %1\n", ir));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user