allow a frame to go from init state to close
without an intermediate working stage so it can be disposed after creation, but without a prior initialization like CppunitTest_services does Change-Id: If2679fd0ce3657e727e34cfb0752501fc82df936
This commit is contained in:
@@ -74,7 +74,7 @@ void TransactionManager::setWorkingMode( EWorkingMode eMode )
|
||||
// Change working mode first!
|
||||
if (
|
||||
( m_eWorkingMode == E_INIT && eMode == E_WORK ) ||
|
||||
( m_eWorkingMode == E_WORK && eMode == E_BEFORECLOSE ) ||
|
||||
( (m_eWorkingMode == E_WORK || m_eWorkingMode == E_INIT) && eMode == E_BEFORECLOSE ) ||
|
||||
( m_eWorkingMode == E_BEFORECLOSE && eMode == E_CLOSE ) ||
|
||||
( m_eWorkingMode == E_CLOSE && eMode == E_INIT )
|
||||
)
|
||||
|
Reference in New Issue
Block a user