[openrtm-commit:03192] r3232 - branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 2月 27日 (火) 16:02:49 JST
Author: miyamoto
Date: 2018-02-27 16:02:49 +0900 (Tue, 27 Feb 2018)
New Revision: 3232
Modified:
branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/RTObject.cpp
Log:
[bugfix, ->trunk] bug fixed. refs #4462
Modified: branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/RTObject.cpp
===================================================================
--- branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/RTObject.cpp 2018-02-27 06:56:57 UTC (rev 3231)
+++ branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/RTObject.cpp 2018-02-27 07:02:49 UTC (rev 3232)
@@ -404,6 +404,14 @@
if (m_created) { return RTC::PRECONDITION_NOT_MET; }
if (m_exiting) { return RTC::RTC_OK; }
+
+ SDOPackage::OrganizationList* organizations = get_organizations();
+ CORBA::ULong len = organizations->length();
+
+ for (CORBA::ULong i = 0; i < len; i++)
+ {
+ (*organizations)[i]->remove_member(getInstanceName());
+ }
// deactivate myself on owned EC
CORBA_SeqUtil::for_each(m_ecMine,
deactivate_comps(m_objref));
More information about the openrtm-commit
mailing list