From 293d96b86d84928ae2106d11c0e004a01cc6f5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Thu, 19 Aug 2021 22:39:14 +0200 Subject: Test tool: stop server before exiting main Makes sure all related data and threads are properly cleared before all the other static stuff starts to be destroyed. --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index b8cae3e..bca802b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -164,5 +164,6 @@ int main(int argc, char * argv[]) } free(line); + server.reset(); return 0; } -- cgit v1.2.3