< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
I'm shutting down using dum->shutdown(&shutdownhandler)
and it is working fine. There was problems with this a few weeks ago -
but it has since been fixed. From: Nash Tsai
[mailto:nash.teltel@xxxxxxxxx] 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 |