Skip to content

Commit

Permalink
TimedEventQueuePrivate: Remove debugger call
Browse files Browse the repository at this point in the history
  • Loading branch information
Numerio committed Jul 24, 2015
1 parent 6d2f2ec commit 2303600
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/kits/media/TimedEventQueuePrivate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<void **>(&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 {
Expand Down

0 comments on commit 2303600

Please sign in to comment.