[openrtm-commit:03193] r945 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2018年 2月 27日 (火) 16:14:19 JST


Author: miyamoto
Date: 2018-02-27 16:14:19 +0900 (Tue, 27 Feb 2018)
New Revision: 945

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerServant.py
   trunk/OpenRTM-aist-Python/OpenRTM_aist/RTObject.py
Log:
[bugfix, ->trunk] bug fixed. refs #4464

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerServant.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerServant.py	2018-02-26 07:34:28 UTC (rev 944)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerServant.py	2018-02-27 07:14:19 UTC (rev 945)
@@ -284,6 +284,10 @@
     del guard_master
     if self._objref:
       self._objref._release()
+
+    poa = self._mgr.getORB().resolve_initial_references("omniINSPOA")
+    poa.deactivate_object(poa.servant_to_id(self))
+
     return
 
   ##

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/RTObject.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/RTObject.py	2018-02-26 07:34:28 UTC (rev 944)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/RTObject.py	2018-02-27 07:14:19 UTC (rev 945)
@@ -4497,6 +4497,8 @@
       self._poa.deactivate_object(self._poa.servant_to_id(self._SdoConfigImpl))
       self._poa.deactivate_object(self._poa.servant_to_id(self))
       self._sdoservice.exit()
+      poa = self._orb.resolve_initial_references("omniINSPOA")
+      poa.deactivate_object(poa.servant_to_id(self))
     except:
       self._rtcout.RTC_ERROR(OpenRTM_aist.Logger.print_exception())
 



More information about the openrtm-commit mailing list