[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bug in CalendarScheduler::cancel()



> if (wfq_event!=NULL) {
> 	Scheduler::instance().cancel(wfq_event);
> 	delete wfq_event;
> }
> 
> I found that this event is not canceled at all. I'm running
> ns-allinone-2.1b5 under HPUX 10.20 and using CalendarScheduler, could
> anybody help me to solve the problem? 

My best suggestion is to set a breakpoint at cancel() to see what actually
happened. My guess is that there's something wrong with your
wfq_event->uid_ such that it's not positive then cancel() failed. 

Perhaps you also want to set a conditional breakpoint inside the scheduler
(Scheduler::dispatch()) to see when your event was dispatched. 

Hope it helps.

- Haobo