From 8cfe1e39ea84aa6ecce78f651f937e8c3bb17cc3 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 12 Mar 2023 11:58:56 +0100 Subject: [PATCH] added missing chat-client listen_thread termination --- src/chat/main/client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chat/main/client.c b/src/chat/main/client.c index d9ca115..6c8dff7 100644 --- a/src/chat/main/client.c +++ b/src/chat/main/client.c @@ -61,6 +61,7 @@ int main(void) } } + pthread_cancel(thread_buffer); free(line); return 0; } \ No newline at end of file