Import Upstream version 1.0.11
This commit is contained in:
parent
fa871d431d
commit
23bd9e9d53
28 changed files with 343 additions and 107 deletions
|
|
@ -541,10 +541,17 @@ void close_network_connections(void) {
|
|||
for(node = connection_tree->head; node; node = next) {
|
||||
next = node->next;
|
||||
c = node->data;
|
||||
c->outgoing = false;
|
||||
c->outgoing = NULL;
|
||||
terminate_connection(c, false);
|
||||
}
|
||||
|
||||
for(list_node_t *node = outgoing_list->head; node; node = node->next) {
|
||||
outgoing_t *outgoing = node->data;
|
||||
|
||||
if(outgoing->event)
|
||||
event_del(outgoing->event);
|
||||
}
|
||||
|
||||
list_delete_list(outgoing_list);
|
||||
|
||||
if(myself && myself->connection) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue