From 2303600a81b4bccf048a73954a4c8380c55830fd Mon Sep 17 00:00:00 2001 From: Dario Casalinuovo Date: Fri, 24 Jul 2015 20:44:24 +0200 Subject: [PATCH] TimedEventQueuePrivate: Remove debugger call --- src/kits/media/TimedEventQueuePrivate.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/kits/media/TimedEventQueuePrivate.cpp b/src/kits/media/TimedEventQueuePrivate.cpp index c5517c9ede..3cc337c50a 100644 --- a/src/kits/media/TimedEventQueuePrivate.cpp +++ b/src/kits/media/TimedEventQueuePrivate.cpp @@ -566,13 +566,14 @@ _event_queue_imp::CleanupEvent(media_timed_event *event) if (event->cleanup == BTimedEventQueue::B_NO_CLEANUP) { // do nothing - } else if (event->type == BTimedEventQueue::B_HANDLE_BUFFER && event->cleanup == BTimedEventQueue::B_RECYCLE_BUFFER) { + } else if (event->type == BTimedEventQueue::B_HANDLE_BUFFER + && event->cleanup == BTimedEventQueue::B_RECYCLE_BUFFER) { ((BBuffer *)event->pointer)->Recycle(); DEBUG_ONLY(*const_cast(&event->pointer) = NULL); } else if (event->cleanup == BTimedEventQueue::B_EXPIRE_TIMER) { - // call TimerExpired() on the event->data - debugger("BTimedEventQueue cleanup: calling TimerExpired() should be implemented here\n"); - } else if (event->cleanup == B_DELETE || event->cleanup >= BTimedEventQueue::B_USER_CLEANUP) { + // do nothing, called in BMediaEventLooper::DispatchEvent + } else if (event->cleanup == B_DELETE + || event->cleanup >= BTimedEventQueue::B_USER_CLEANUP) { if (fCleanupHook) (*fCleanupHook)(event,fCleanupHookContext); } else {