mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
update VILLAScommon submodule with new list functions
This commit is contained in:
parent
f851aacf3c
commit
e8de9df993
4 changed files with 4 additions and 4 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 09832330c1e88710a60d3ed5db785c1403c50735
|
||||
Subproject commit 0c35a58b79b00726d13675b7a6231dd35bf62a20
|
|
@ -53,7 +53,7 @@ __attribute__((constructor(110))) static void UNIQUE(__ctor)() {\
|
|||
} \
|
||||
__attribute__((destructor(110))) static void UNIQUE(__dtor)() { \
|
||||
if (plugins.state != STATE_DESTROYED) \
|
||||
vlist_remove(&plugins, p); \
|
||||
vlist_remove_all(&plugins, p); \
|
||||
}
|
||||
|
||||
extern struct vlist plugins;
|
||||
|
|
|
@ -533,7 +533,7 @@ int node_destroy(struct node *n)
|
|||
return ret;
|
||||
}
|
||||
|
||||
vlist_remove(&node_type(n)->instances, n);
|
||||
vlist_remove_all(&node_type(n)->instances, n);
|
||||
|
||||
if (n->_vd)
|
||||
free(n->_vd);
|
||||
|
|
|
@ -267,7 +267,7 @@ int websocket_protocol_cb(struct lws *wsi, enum lws_callback_reasons reason, voi
|
|||
}
|
||||
|
||||
if (connections.state == STATE_INITIALIZED)
|
||||
vlist_remove(&connections, c);
|
||||
vlist_remove_all(&connections, c);
|
||||
|
||||
if (c->state == WEBSOCKET_CONNECTION_STATE_INITIALIZED)
|
||||
websocket_connection_destroy(c);
|
||||
|
|
Loading…
Add table
Reference in a new issue