[raop] Stop writing when a teardown has been requested
This commit is contained in:
parent
617303d545
commit
f1fb86e7e1
|
@ -1340,6 +1340,7 @@ raop_send_req_teardown(struct raop_session *rs, evrtsp_req_cb cb)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rs->state = RAOP_STATE_CONNECTED;
|
||||||
rs->reqs_in_flight++;
|
rs->reqs_in_flight++;
|
||||||
|
|
||||||
evrtsp_connection_set_closecb(rs->ctrl, NULL, NULL);
|
evrtsp_connection_set_closecb(rs->ctrl, NULL, NULL);
|
||||||
|
|
Loading…
Reference in New Issue