summaryrefslogtreecommitdiff
path: root/src/components/hmi_message_handler/src/mb_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/hmi_message_handler/src/mb_controller.cc')
-rw-r--r--src/components/hmi_message_handler/src/mb_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/hmi_message_handler/src/mb_controller.cc b/src/components/hmi_message_handler/src/mb_controller.cc
index 8d3b11add5..4f46026039 100644
--- a/src/components/hmi_message_handler/src/mb_controller.cc
+++ b/src/components/hmi_message_handler/src/mb_controller.cc
@@ -222,7 +222,7 @@ void CMessageBrokerController::exitReceivingThread() {
it;
for (it = mConnectionList.begin(); it != mConnectionList.end();) {
(*it)->Shutdown();
- mConnectionList.erase(it++);
+ it = mConnectionList.erase(it);
}
mConnectionListLock.Release();