diff options
author | Artem Nosach <ANosach@luxoft.com> | 2015-04-29 16:36:20 +0300 |
---|---|---|
committer | Artem Nosach <ANosach@luxoft.com> | 2015-06-23 17:06:16 +0300 |
commit | 794783b5d3676339ca66f5ecebb5f7aff907c70c (patch) | |
tree | 86f6a60d31a4cbb824cf8f762a3cc794be084831 | |
parent | 26c3de0f7351ca3ac1189388330615e61634a25f (diff) | |
download | smartdevicelink-794783b5d3676339ca66f5ecebb5f7aff907c70c.tar.gz |
Make session_map lock recursive.
-rw-r--r-- | src/components/connection_handler/src/connection.cc | 3 |
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_); |