summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/connection_handler/src/connection.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/connection_handler/src/connection.cc b/src/components/connection_handler/src/connection.cc
index 8cc690e7b..de8c7edb0 100644
--- a/src/components/connection_handler/src/connection.cc
+++ b/src/components/connection_handler/src/connection.cc
@@ -79,7 +79,8 @@ Connection::Connection(ConnectionHandle connection_handle,
int32_t heartbeat_timeout)
: connection_handler_(connection_handler),
connection_handle_(connection_handle),
- connection_device_handle_(connection_device_handle) {
+ connection_device_handle_(connection_device_handle),
+ session_map_lock_(true) {
LOG4CXX_AUTO_TRACE(logger_);
DCHECK(connection_handler_);