[openrtm-commit:02370] r2918 - branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 2月 2日 (木) 18:16:55 JST


Author: n-ando
Date: 2017-02-02 18:16:55 +0900 (Thu, 02 Feb 2017)
New Revision: 2918

Modified:
   branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/ListenerHolder.h
Log:
[compat,bugfix] A resource release bug in descructor. refs #3897

Modified: branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/ListenerHolder.h
===================================================================
--- branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/ListenerHolder.h	2017-02-02 09:11:28 UTC (rev 2917)
+++ branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/ListenerHolder.h	2017-02-02 09:16:55 UTC (rev 2918)
@@ -180,8 +180,8 @@
             {
               delete (*it).first;
             }
-          m_listeners.erase(it);
         }
+      m_listners.clear();
     }
 
     /*!



More information about the openrtm-commit mailing list