mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the memory watcher.
This commit is contained in:
parent
ca535fdb93
commit
573495a19f
4 changed files with 13 additions and 2 deletions
|
@ -961,6 +961,12 @@ void SrsSource::dispose()
|
|||
hls->dispose();
|
||||
#endif
|
||||
|
||||
// cleaup the cached packets.
|
||||
srs_freep(cache_metadata);
|
||||
srs_freep(cache_sh_video);
|
||||
srs_freep(cache_sh_audio);
|
||||
|
||||
// cleanup the gop cache.
|
||||
gop_cache->dispose();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue