mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
kill cref when in bad state.
This commit is contained in:
parent
b170a04dec
commit
d7d2a7523b
1 changed files with 3 additions and 4 deletions
|
@ -641,11 +641,10 @@ CookieRef::handleEvents()
|
|||
|
||||
m_curState = nextState;
|
||||
} else {
|
||||
/* CRefEvent evt; */
|
||||
/* evt.type = XWE_SHUTDOWN; */
|
||||
/* m_eventQueue.push_back( evt ); */
|
||||
CRefEvent shutevt( XWE_SHUTDOWN );
|
||||
m_eventQueue.push_back( shutevt );
|
||||
|
||||
logf( XW_LOGERROR, "unable to find transition "
|
||||
logf( XW_LOGERROR, "Killing cref b/c unable to find transition "
|
||||
"from %s on event %s", stateString(m_curState),
|
||||
eventString(evt.type) );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue