diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-03-24 11:01:16 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2016-03-24 11:01:16 -0500 |
commit | 194d7e85a52cbc0060a2d85b71b9ddd8b606aee4 (patch) | |
tree | 7b9521ad7cfa7a2e765be265d5ecd98cb9bcad23 /src | |
parent | 9f03876ba4aef09f5b93905f90df9a7b9d1073e4 (diff) | |
download | ayatana-indicator-display-194d7e85a52cbc0060a2d85b71b9ddd8b606aee4.tar.gz ayatana-indicator-display-194d7e85a52cbc0060a2d85b71b9ddd8b606aee4.tar.bz2 ayatana-indicator-display-194d7e85a52cbc0060a2d85b71b9ddd8b606aee4.zip |
add tracer g_debug() calls for the benefit of the integration tests
Diffstat (limited to 'src')
-rw-r--r-- | src/adbd-client.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/adbd-client.cpp b/src/adbd-client.cpp index 937215e..400c7c9 100644 --- a/src/adbd-client.cpp +++ b/src/adbd-client.cpp @@ -44,6 +44,7 @@ public: ~Impl() { // tell the worker thread to stop whatever it's doing and exit. + g_debug("%s Client::Impl dtor, cancelling m_cancellable", G_STRLOC); g_cancellable_cancel(m_cancellable); m_pkresponse_cv.notify_one(); m_sleep_cv.notify_one(); @@ -144,7 +145,9 @@ private: return m_pkresponse_ready || g_cancellable_is_cancelled(m_cancellable); }); response = m_pkresponse; - g_debug("%s got response '%d'", G_STRLOC, int(response)); + g_debug("%s got response '%d', is-cancelled %d", G_STRLOC, + int(response), + int(g_cancellable_is_cancelled(m_cancellable))); } if (!g_cancellable_is_cancelled(m_cancellable)) send_pk_response(socket, response); |