mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Always use string instance to avoid crash risk. 3.0.95
This commit is contained in:
parent
b794c9e4ec
commit
10464a5fbe
15 changed files with 119 additions and 14 deletions
|
@ -81,7 +81,7 @@ int SrsDummyCoroutine::cid()
|
|||
|
||||
_ST_THREAD_CREATE_PFN _pfn_st_thread_create = (_ST_THREAD_CREATE_PFN)st_thread_create;
|
||||
|
||||
SrsSTCoroutine::SrsSTCoroutine(const string& n, ISrsCoroutineHandler* h, int cid)
|
||||
SrsSTCoroutine::SrsSTCoroutine(string n, ISrsCoroutineHandler* h, int cid)
|
||||
{
|
||||
name = n;
|
||||
handler = h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue