mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
merge srs2.
This commit is contained in:
commit
112d98ffdb
2 changed files with 2 additions and 7 deletions
7
trunk/src/app/srs_app_listener.cpp
Normal file → Executable file
7
trunk/src/app/srs_app_listener.cpp
Normal file → Executable 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()
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue