aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/sender.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/sender.c')
-rw-r--r--Source/charon/sender.c2
1 files changed, 2 insertions, 0 deletions
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);