mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Asan: Try to fix st_memory_leak for asan check (#3264)
* asan: try to fix st_memory_leak for asan check * asan: srs_st_unit should be call in hybrid server stop * Rename st_uninit to st_destroy. v5.0.91 Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
6fa17aa3f8
commit
6b130d4205
5 changed files with 12 additions and 2 deletions
|
@ -235,6 +235,8 @@ void SrsHybridServer::stop()
|
|||
ISrsHybridServer* server = *it;
|
||||
server->stop();
|
||||
}
|
||||
|
||||
srs_st_destroy();
|
||||
}
|
||||
|
||||
SrsServerAdapter* SrsHybridServer::srs()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue