summaryrefslogtreecommitdiff
path: root/src/console/dlt-control-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/dlt-control-common.c')
-rw-r--r--src/console/dlt-control-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/console/dlt-control-common.c b/src/console/dlt-control-common.c
index 7e16bde..96a15a2 100644
--- a/src/console/dlt-control-common.c
+++ b/src/console/dlt-control-common.c
@@ -632,6 +632,7 @@ int dlt_control_deinit(void)
{
/* Stopping the listener thread */
pthread_cancel(daemon_connect_thread);
+ pthread_join(daemon_connect_thread, NULL);
/* Closing the socket */
return dlt_client_cleanup(&g_client, get_verbosity());
}