mirror of
https://github.com/lxsang/antd-tunnel-publishers
synced 2024-12-25 17:48:20 +01:00
free client list at end
This commit is contained in:
parent
6d5a203028
commit
0bc8ec7da3
@ -218,7 +218,7 @@ int main(int argc, char **argv)
|
||||
// unsubscribe all client
|
||||
fargv[0] = (void *)&fd;
|
||||
bst_for_each(clients, unsubscribe, fargv, 1);
|
||||
|
||||
bst_free(clients);
|
||||
// close the channel
|
||||
M_LOG(MODULE_NAME, "Close the channel %s (%d)", argv[2], fd);
|
||||
msg.header.type = CHANNEL_CLOSE;
|
||||
|
Loading…
Reference in New Issue
Block a user