mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +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;
|
m_curState = nextState;
|
||||||
} else {
|
} else {
|
||||||
/* CRefEvent evt; */
|
CRefEvent shutevt( XWE_SHUTDOWN );
|
||||||
/* evt.type = XWE_SHUTDOWN; */
|
m_eventQueue.push_back( shutevt );
|
||||||
/* m_eventQueue.push_back( evt ); */
|
|
||||||
|
|
||||||
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),
|
"from %s on event %s", stateString(m_curState),
|
||||||
eventString(evt.type) );
|
eventString(evt.type) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue