diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2014-01-19 16:28:28 +0100 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2014-01-19 16:28:28 +0100 |
commit | 12d948619d517ae5e8e130a83dc8f2e1721d0fa2 (patch) | |
tree | 5a2c0beeef5b2ba29d081aa141a5ff9fbf6163f3 /src | |
parent | 979fee844cf2c54ee6c6e39ad8a7fe924c591f2a (diff) |
log the dtors
Diffstat (limited to 'src')
-rw-r--r-- | src/AntMessenger.cpp | 1 | ||||
-rw-r--r-- | src/SerialTty.cpp | 2 | ||||
-rw-r--r-- | src/SerialUsb.cpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/AntMessenger.cpp b/src/AntMessenger.cpp index b318dbf..1c6faa2 100644 --- a/src/AntMessenger.cpp +++ b/src/AntMessenger.cpp @@ -81,6 +81,7 @@ AntMessenger::~AntMessenger() m_packerTh.join(); m_io=0; m_cb=0; + lprintf(LOG_DBG2, "%s\n", __FUNCTION__); } size_t AntMessenger::getQueueLength() const diff --git a/src/SerialTty.cpp b/src/SerialTty.cpp index c096028..1123fb1 100644 --- a/src/SerialTty.cpp +++ b/src/SerialTty.cpp @@ -227,7 +227,7 @@ SerialTty::SerialTty() SerialTty::~SerialTty() { - //printf("%s\n", __FUNCTION__); + lprintf(LOG_DBG2, "%s\n", __FUNCTION__); } #define ENSURE_OR_RETURN_FALSE(e) \ diff --git a/src/SerialUsb.cpp b/src/SerialUsb.cpp index 03670fa..f80f956 100644 --- a/src/SerialUsb.cpp +++ b/src/SerialUsb.cpp @@ -365,6 +365,7 @@ SerialUsb::~SerialUsb() { close(); m_p.reset(); + lprintf(LOG_DBG2, "%s\n", __FUNCTION__); } //#define ENSURE_OR_RETURN_FALSE(e) do { if(-1 == (e)) {perror(#e); return false;} } while(false) |