From 3c6c14b62f40b17715d82f395c0d4c65b473dbc4 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 26 Dec 2011 09:21:50 +0000 Subject: Fixed #1432: Removed assertion in transaction when event is received in DESTROYED state (thanks Yariv Trabelsi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3924 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/src/pjsip/sip_transaction.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pjsip') diff --git a/pjsip/src/pjsip/sip_transaction.c b/pjsip/src/pjsip/sip_transaction.c index 31a3bb5d..702914be 100644 --- a/pjsip/src/pjsip/sip_transaction.c +++ b/pjsip/src/pjsip/sip_transaction.c @@ -3222,7 +3222,10 @@ static pj_status_t tsx_on_state_destroyed(pjsip_transaction *tsx, { PJ_UNUSED_ARG(tsx); PJ_UNUSED_ARG(event); - pj_assert(!"Not expecting any events!!"); - return PJ_EBUG; + + // See https://trac.pjsip.org/repos/ticket/1432 + //pj_assert(!"Not expecting any events!!"); + + return PJ_EIGNORED; } -- cgit v1.2.3