Skip to content

Commit

Permalink
clear the queue when edge republish.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 14, 2015
1 parent 8be3c87 commit 704624c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trunk/src/app/srs_app_edge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,8 @@ void SrsEdgeForwarder::stop()

close_underlayer_socket();

queue->clear();

srs_freep(client);
srs_freep(io);
kbps->set_io(NULL, NULL);
Expand Down

0 comments on commit 704624c

Please sign in to comment.