[openrtm-commit:00209] r2193 - trunk/OpenRTM-aist/src/lib/rtm

openrtm @ openrtm.org openrtm @ openrtm.org
2011年 7月 1日 (金) 00:16:24 JST


Author: n-ando
Date: 2011-07-01 00:16:23 +0900 (Fri, 01 Jul 2011)
New Revision: 2193

Modified:
   trunk/OpenRTM-aist/src/lib/rtm/RTObject.h
Log:
ExecutionContext's stop() should be called after deactivate_component()
operation in exit() process. refs #2175


Modified: trunk/OpenRTM-aist/src/lib/rtm/RTObject.h
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/RTObject.h	2011-06-30 15:13:32 UTC (rev 2192)
+++ trunk/OpenRTM-aist/src/lib/rtm/RTObject.h	2011-06-30 15:16:23 UTC (rev 2193)
@@ -4883,7 +4883,9 @@
       {
         if (!::CORBA::is_nil(ec) && !ec->_non_existent())
           {
+            
 	    ec->deactivate_component(RTC::LightweightRTObject::_duplicate(m_comp));
+            ec->stop();
           }
       }
       LightweightRTObject_var m_comp;



openrtm-commit メーリングリストの案内