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