From 602bae7dd2954c46a3927050df961946fb4f2fde Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 16 Jul 2021 14:04:42 +0200 Subject: [PATCH] web: fix hanging Web::stop() --- lib/web.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/web.cpp b/lib/web.cpp index 04ce7c8a1..3ea70de9f 100644 --- a/lib/web.cpp +++ b/lib/web.cpp @@ -281,6 +281,7 @@ void Web::stop() logger->info("Stopping sub-system"); running = false; + lws_cancel_service(context); thread.join(); lws_context_destroy(context);