From 1dac3254d554a38eafeec894e8e11eb163746281 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 24 Jun 2014 15:49:13 +0100 Subject: 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 --- framework/source/fwi/threadhelp/transactionmanager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/source/fwi/threadhelp/transactionmanager.cxx b/framework/source/fwi/threadhelp/transactionmanager.cxx index 20bcdd6c020d..3d001a871997 100644 --- a/framework/source/fwi/threadhelp/transactionmanager.cxx +++ b/framework/source/fwi/threadhelp/transactionmanager.cxx @@ -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 ) ) -- cgit