better debug message with correct namespace for EventLoop::invalidate_request()
This commit is contained in:
parent
941f55bf40
commit
fb4ff01a18
|
@ -25,6 +25,7 @@
|
||||||
#include "pbd/debug.h"
|
#include "pbd/debug.h"
|
||||||
#include "pbd/event_loop.h"
|
#include "pbd/event_loop.h"
|
||||||
#include "pbd/error.h"
|
#include "pbd/error.h"
|
||||||
|
#include "pbd/pthread_utils.h"
|
||||||
#include "pbd/stacktrace.h"
|
#include "pbd/stacktrace.h"
|
||||||
|
|
||||||
#include "pbd/i18n.h"
|
#include "pbd/i18n.h"
|
||||||
|
@ -99,7 +100,7 @@ EventLoop::invalidate_request (void* data)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (ir->event_loop) {
|
if (ir->event_loop) {
|
||||||
DEBUG_TRACE (PBD::DEBUG::AbstractUI, string_compose ("%1: EventLoop::invalidate_request %2\n", ir->event_loop, ir));
|
DEBUG_TRACE (PBD::DEBUG::EventLoop, string_compose ("%1: invalidating request from %2 (%3) @ %4\n", pthread_name(), ir->event_loop, ir->event_loop->event_loop_name(), ir));
|
||||||
Glib::Threads::Mutex::Lock lm (ir->event_loop->slot_invalidation_mutex());
|
Glib::Threads::Mutex::Lock lm (ir->event_loop->slot_invalidation_mutex());
|
||||||
ir->invalidate ();
|
ir->invalidate ();
|
||||||
ir->event_loop->trash.push_back(ir);
|
ir->event_loop->trash.push_back(ir);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user