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

fixed hanging shutdown of websocket node type

This commit is contained in:
Steffen Vogel 2015-12-11 18:33:30 +01:00
parent 6f827ca49f
commit 0d18c263fd

View file

@ -302,6 +302,7 @@ int websocket_init(int argc, char * argv[], config_setting_t *cfg)
int websocket_deinit()
{
pthread_cancel(global.thread);
pthread_join(global.thread, NULL);
lws_cancel_service(global.context);