mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
Fix build fail
This commit is contained in:
parent
a43f339aa6
commit
b4282a6ee1
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,8 @@ const SrsContextId& SrsThreadContext::set_id(const SrsContextId& v)
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
SrsContextId* cid = v.copy();
|
SrsContextId* cid = new SrsContextId();
|
||||||
|
*cid = v;
|
||||||
|
|
||||||
if (_srs_context_key < 0) {
|
if (_srs_context_key < 0) {
|
||||||
int r0 = srs_key_create(&_srs_context_key, _srs_context_destructor);
|
int r0 = srs_key_create(&_srs_context_key, _srs_context_destructor);
|
||||||
|
|
Loading…
Reference in a new issue