clear the queue when edge republish.

This commit is contained in:
winlin 2015-09-14 15:19:49 +08:00
parent 8be3c875af
commit 704624c9ec

View File

@ -476,6 +476,8 @@ void SrsEdgeForwarder::stop()
close_underlayer_socket();
queue->clear();
srs_freep(client);
srs_freep(io);
kbps->set_io(NULL, NULL);