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:
parent
6f827ca49f
commit
0d18c263fd
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue