[openrtm-commit:00353] r460 - branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2011年 8月 13日 (土) 12:46:04 JST


Author: kurihara
Date: 2011-08-13 12:46:04 +0900 (Sat, 13 Aug 2011)
New Revision: 460

Modified:
   branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/PortConnectListener.py
Log:
The bug of termination processing has been corrected.

Modified: branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/PortConnectListener.py
===================================================================
--- branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/PortConnectListener.py	2011-08-13 02:05:06 UTC (rev 459)
+++ branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/PortConnectListener.py	2011-08-13 03:46:04 UTC (rev 460)
@@ -362,12 +362,7 @@
   # @brief Destructor
   # @endif
   def __del__(self):
-    guard = Lock(self._mutex)
-    for listener in self._listeners:
-      if listener.listener:
-        listener.listener = None
-    del guard
-    return
+    pass
     
 
   ##
@@ -492,12 +487,7 @@
   # @brief Destructor
   # @endif
   def __del__(self):
-    guard = Lock(self._mutex)
-    for listener in self._listeners:
-      if listener.listener:
-        listener.listener = None
-    del guard
-    return
+    pass
 
 
     



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