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

[reSIProcate] Miss guady.destroy() in ClientInviteSession::dispatch(const DumTimeout& timeout)


Hi, all,

It seems that the guard.destroy() is missed in
ClientInvitationSession::dispatch(const DumTimeout &
timeout) to handle stale time out.

void
ClientInviteSession::dispatch(const DumTimeout&
timeout)
{
   Destroyer::Guard guard(mDestroyer);
    if (timeout.type() == DumTimeout::StaleCall 
       && timeout.seq() == mStaleCallTimerSeq)
   {
     
mDum.mInviteSessionHandler->onStaleCallTimeout(getHandle());
      guard.destroy();
   ^^^^^^^^^^^^^^^^^^^^^^^^
   }
   else
   {
      InviteSession::dispatch(timeout);      
   }
}

kaiduan

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca