[reSIProcate] DUM DumShutdownHandler does not get triggered

Nash Tsai nash.teltel at gmail.com
Mon May 2 23:14:06 CDT 2005


Hi,

 

After call DialogUsageManager.shutdown and passing a DumShutdownHandler, the
DUM seem to be shutting down without calling
DumShutdownHandler.onDumCanBeDeleted, some how when shutting down the DUM
the following part of codes never gets executed:

 

      TransactionUserMessage* tuMsg =
dynamic_cast<TransactionUserMessage*>(msg.get());

      if (tuMsg)

      {

         InfoLog (<< "TU unregistered ");

         assert(mShutdownState == RemovingTransactionUser);

         assert(tuMsg->type() ==
TransactionUserMessage::TransactionUserRemoved);

         mShutdownState = Shutdown;

         if (mDumShutdownHandler)

         {

            mDumShutdownHandler->onDumCanBeDeleted();

            mDumShutdownHandler = 0;

         }

         return;

      }

 

Is this a bug of DUM ?

 

Thanks,

Nash

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050503/7045e4a5/attachment.htm>


More information about the resiprocate-devel mailing list