diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-03-19 22:51:19 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-03-19 22:51:19 +0100 |
commit | 49844e8debdc9111327d202cb35122ae0ac58ee2 (patch) | |
tree | 837de3a762688486b859fa06125ee061715223dc | |
parent | a5a17fa80affe0523689c7c7970391f115dccd51 (diff) |
msc_conn: Clear the write queue when the connection is dropping
-rw-r--r-- | src/msc_conn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/msc_conn.c b/src/msc_conn.c index e895e77..ff73a49 100644 --- a/src/msc_conn.c +++ b/src/msc_conn.c @@ -68,6 +68,7 @@ void msc_close_connection(struct msc_connection *fw) osmo_timer_del(&fw->ping_timeout); osmo_timer_del(&fw->pong_timeout); osmo_timer_del(&fw->msc_timeout); + osmo_wqueue_clear(&fw->msc_connection); msc_schedule_reconnect(fw); } |