< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] DUM DumShutdownHandler does not get triggered


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