mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
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:
parent
fe51d19c2e
commit
f1b60dab62
1 changed files with 0 additions and 1 deletions
|
@ -830,7 +830,6 @@ CookieRef::handleEvents()
|
||||||
logf( XW_LOGERROR, "Killing cref b/c unable to find transition "
|
logf( XW_LOGERROR, "Killing cref b/c unable to find transition "
|
||||||
"from %s on event %s", stateString(m_curState),
|
"from %s on event %s", stateString(m_curState),
|
||||||
eventString(evt.type) );
|
eventString(evt.type) );
|
||||||
assert(0);
|
|
||||||
CRefEvent shutevt( XWE_SHUTDOWN );
|
CRefEvent shutevt( XWE_SHUTDOWN );
|
||||||
m_eventQueue.push_back( shutevt );
|
m_eventQueue.push_back( shutevt );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue