From 4502839210a36b641c03a10539324e08b822b1e5 Mon Sep 17 00:00:00 2001 From: Jan Hutter Date: Tue, 22 Nov 2005 11:53:00 +0000 Subject: [PATCH] - added logging when destroying --- Source/charon/sender.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/charon/sender.c b/Source/charon/sender.c index 0d056afeb..224bafa85 100644 --- a/Source/charon/sender.c +++ b/Source/charon/sender.c @@ -90,9 +90,11 @@ static void sender_thread_function(private_sender_t * this) */ static status_t destroy(private_sender_t *this) { + this->logger->log(this->logger, CONTROL | MORE, "Going to terminate sender thread"); pthread_cancel(this->assigned_thread); pthread_join(this->assigned_thread, NULL); + this->logger->log(this->logger, CONTROL | MORE, "Sender thread terminated"); global_logger_manager->destroy_logger(global_logger_manager, this->logger);