1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

web: fix hanging Web::stop()

This commit is contained in:
Steffen Vogel 2021-07-16 14:04:42 +02:00 committed by Steffen Vogel
parent fc6434c66c
commit 602bae7dd2

View file

@ -281,6 +281,7 @@ void Web::stop()
logger->info("Stopping sub-system");
running = false;
lws_cancel_service(context);
thread.join();
lws_context_destroy(context);