[raop] Stop writing when a teardown has been requested

This commit is contained in:
ejurgensen 2016-04-04 10:06:58 +02:00
parent 617303d545
commit f1fb86e7e1
1 changed files with 1 additions and 0 deletions

View File

@ -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);