mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #1230, racing condition in source fetch or create. 3.0.110
This commit is contained in:
parent
5d365bade8
commit
adf7ef4511
6 changed files with 24 additions and 4 deletions
|
@ -356,6 +356,9 @@ srs_mutex_t srs_mutex_new()
|
|||
|
||||
int srs_mutex_destroy(srs_mutex_t mutex)
|
||||
{
|
||||
if (!mutex) {
|
||||
return 0;
|
||||
}
|
||||
return st_mutex_destroy((st_mutex_t)mutex);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue