kill cref when in bad state.

This commit is contained in:
Eric House 2010-07-29 19:46:52 -07:00
parent b170a04dec
commit d7d2a7523b

View file

@ -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) );
}