Don't assert when can't find state transition. At least in some cases

these result from unexpected/out-of-order packets that slip through.
This commit is contained in:
Eric House 2013-08-14 08:11:21 -07:00
parent fe51d19c2e
commit f1b60dab62

View file

@ -830,7 +830,6 @@ CookieRef::handleEvents()
logf( XW_LOGERROR, "Killing cref b/c unable to find transition "
"from %s on event %s", stateString(m_curState),
eventString(evt.type) );
assert(0);
CRefEvent shutevt( XWE_SHUTDOWN );
m_eventQueue.push_back( shutevt );
}