Skip to content

Commit

Permalink
merge from srs2 #558 #559
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jan 9, 2016
2 parents d24aef5 + da722b5 commit eac5440
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions trunk/src/app/srs_app_http_hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ int SrsHttpHooks::on_publish(string url, SrsRequest* req)
obj->set("ip", SrsJsonAny::str(req->ip.c_str()));
obj->set("vhost", SrsJsonAny::str(req->vhost.c_str()));
obj->set("app", SrsJsonAny::str(req->app.c_str()));
obj->set("tcUrl", SrsJsonAny::str(req->tcUrl.c_str()));
obj->set("stream", SrsJsonAny::str(req->stream.c_str()));

std::string data = obj->dumps();
Expand Down
5 changes: 0 additions & 5 deletions trunk/src/app/srs_app_st.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,6 @@ namespace internal
// readly terminated now.
really_terminated = true;

// when thread terminated normally, also disposed.
// we must set to disposed before the on_thread_stop, which may free the thread.
// @see https://github.com/ossrs/srs/issues/546
disposed = true;

handler->on_thread_stop();
srs_info("thread %s cycle finished", _name);
}
Expand Down

0 comments on commit eac5440

Please sign in to comment.