[reSIProcate] ClientInviteSession end() bug?
- From: "maodonghu" <hhmmdd@xxxxxxx>
- Date: Thu, 22 Jun 2006 10:03:14 +0800
Hi, all
I may found a bug in ClientInviteSession.cxx, line 204, that was when end() was
called, if the status is Terminated, then assert(0). I think it should be
processed like in InviteSession.cxx, line 504: // no-op.
Because in my project, I encounter this situation really. the calling user
hangup and resip transition(Terminated); and call onTerminated, at the same
time another thread call end(), and result in assert(0).
And I found in ServerInviteSession's end(), it does not check the Terminated
status.
Anyone can confirm this for me ? If we should remove the check of Terminate in
end()?
maodonghu
hhmmdd@xxxxxxx
2006-06-22