From 52766cdca1a18237444f26b678b3fc521123fb31 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 6 Oct 2022 12:20:48 +0200 Subject: [PATCH] Stop the server in ON_APPLICATION_ENDS instead of ON_APPLICATION_REQUESTS_EXIT hook --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index cb94be2..823cf7f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -226,7 +226,7 @@ WUPS_CONFIG_CLOSED() { } } -ON_APPLICATION_REQUESTS_EXIT() { +ON_APPLICATION_ENDS() { stopServer(); deinitLogging(); }