From f1fb86e7e196ff56561027e7871058211e3a2d19 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Mon, 4 Apr 2016 10:06:58 +0200 Subject: [PATCH] [raop] Stop writing when a teardown has been requested --- src/outputs/raop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/outputs/raop.c b/src/outputs/raop.c index 7744c443..a36f2771 100644 --- a/src/outputs/raop.c +++ b/src/outputs/raop.c @@ -1340,6 +1340,7 @@ raop_send_req_teardown(struct raop_session *rs, evrtsp_req_cb cb) return -1; } + rs->state = RAOP_STATE_CONNECTED; rs->reqs_in_flight++; evrtsp_connection_set_closecb(rs->ctrl, NULL, NULL);