Commit 7ae2ec1f authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Remove redundant heartbeat timeout events

parent 84d24230
...@@ -117,7 +117,7 @@ class nrf_profile : public std::enable_shared_from_this<nrf_profile> { ...@@ -117,7 +117,7 @@ class nrf_profile : public std::enable_shared_from_this<nrf_profile> {
virtual ~nrf_profile() { virtual ~nrf_profile() {
Logger::nrf_app().debug("Delete NRF Profile instance..."); Logger::nrf_app().debug("Delete NRF Profile instance...");
if (hb_update_connection.connected()) task_connection.disconnect(); if (hb_update_connection.connected()) hb_update_connection.disconnect();
if (first_hb_connection.connected()) first_hb_connection.disconnect(); if (first_hb_connection.connected()) first_hb_connection.disconnect();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment