bsc-msc: Flush the write queue when we have lost the connection
This commit is contained in:
parent
a7f8018eb2
commit
03ca97e458
|
@ -190,6 +190,7 @@ struct bsc_msc_connection *bsc_msc_create(const char *ip, int port)
|
|||
|
||||
void bsc_msc_lost(struct bsc_msc_connection *con)
|
||||
{
|
||||
write_queue_clear(&con->write_queue);
|
||||
bsc_unregister_fd(&con->write_queue.bfd);
|
||||
connection_loss(con);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue