diff options
author | Oleg Krotenko <OKrotenko@luxoft.com> | 2015-07-27 16:54:19 +0300 |
---|---|---|
committer | Oleg Krotenko <OKrotenko@luxoft.com> | 2015-07-28 17:38:14 +0300 |
commit | 09e6ffbfc3ecd1fd3bde392ccebbd44c97bc1cba (patch) | |
tree | 8b440d84b0b2d0ee34b870546a9d8c857a8b6463 /src/components/connection_handler | |
parent | d9b1f27b35c538bac467c699dd759614a0589667 (diff) | |
download | sdl_core-09e6ffbfc3ecd1fd3bde392ccebbd44c97bc1cba.tar.gz |
Fixing of core dumps when executing IGNITION_OFF. Update after review. APPLINK-11950
Diffstat (limited to 'src/components/connection_handler')
-rw-r--r-- | src/components/connection_handler/include/connection_handler/heartbeat_monitor.h | 2 | ||||
-rw-r--r-- | src/components/connection_handler/src/heartbeat_monitor.cc | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/components/connection_handler/include/connection_handler/heartbeat_monitor.h b/src/components/connection_handler/include/connection_handler/heartbeat_monitor.h index e00408f24d..70c7aa4cd7 100644 --- a/src/components/connection_handler/include/connection_handler/heartbeat_monitor.h +++ b/src/components/connection_handler/include/connection_handler/heartbeat_monitor.h @@ -83,8 +83,6 @@ class HeartBeatMonitor: public threads::ThreadDelegate { // \brief Connection that must be closed when timeout elapsed Connection *connection_; - static const int32_t kDefaultCycleTimeout = 100000; - class SessionState { public: explicit SessionState(int32_t heartbeat_timeout_seconds = 0); diff --git a/src/components/connection_handler/src/heartbeat_monitor.cc b/src/components/connection_handler/src/heartbeat_monitor.cc index fd081c3310..fe2abbd1ec 100644 --- a/src/components/connection_handler/src/heartbeat_monitor.cc +++ b/src/components/connection_handler/src/heartbeat_monitor.cc @@ -141,6 +141,7 @@ void HeartBeatMonitor::set_heartbeat_timeout_seconds(int32_t timeout, AutoLock session_locker(sessions_list_lock_); if (sessions_.end() != sessions_.find(session_id)) { sessions_[session_id].UpdateTimeout(timeout); + heartbeat_monitor_.NotifyOne(); } } |