[openrtm-commit:01581] r2648 - trunk/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2015年 7月 10日 (金) 22:14:09 JST
Author: n-ando
Date: 2015-07-10 22:14:08 +0900 (Fri, 10 Jul 2015)
New Revision: 2648
Modified:
trunk/OpenRTM-aist/src/lib/rtm/OutPort.h
Log:
[compat,->RELENG_1_1] A little improvement in OutPort error handling. refs #3086
Modified: trunk/OpenRTM-aist/src/lib/rtm/OutPort.h
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/OutPort.h 2015-07-10 13:07:33 UTC (rev 2647)
+++ trunk/OpenRTM-aist/src/lib/rtm/OutPort.h 2015-07-10 13:14:08 UTC (rev 2648)
@@ -238,13 +238,13 @@
result = false;
const char* id(m_connectors[i]->profile().id.c_str());
- RTC::ConnectorProfile prof(findConnProfile(id));
if (ret == CONNECTION_LOST)
{
RTC_WARN(("connection_lost id: %s", id));
if (m_onConnectionLost != 0)
{
+ RTC::ConnectorProfile prof(findConnProfile(id));
(*m_onConnectionLost)(prof);
}
disconnect_ids.push_back(id);
More information about the openrtm-commit
mailing list