1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-14 20:31:56 +00:00

merge srs2.

This commit is contained in:
winlin 2016-10-10 11:56:10 +08:00
commit 112d98ffdb
2 changed files with 2 additions and 7 deletions

7
trunk/src/app/srs_app_listener.cpp Normal file → Executable file
View file

@ -193,15 +193,10 @@ SrsTcpListener::SrsTcpListener(ISrsTcpHandler* h, string i, int p)
SrsTcpListener::~SrsTcpListener()
{
// close the stfd to trigger thread to interrupted.
srs_close_stfd(_stfd);
pthread->stop();
srs_freep(pthread);
// st does not close it sometimes,
// close it manually.
close(_fd);
srs_close_stfd(_stfd);
}
int SrsTcpListener::fd()

View file

@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// current release version
#define VERSION_MAJOR 3
#define VERSION_MINOR 0
#define VERSION_REVISION 218
#define VERSION_REVISION 219
// generated by configure, only macros.
#include <srs_auto_headers.hpp>