1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

ST: Support st_destroy to free resources for asan.

This commit is contained in:
chengh 2022-11-21 22:26:46 +08:00 committed by winlin
parent 6eb10afca2
commit 6fa17aa3f8
5 changed files with 39 additions and 4 deletions

View file

@ -229,6 +229,15 @@ int st_init(void)
}
/*
* Destroy this Virtual Processor
*/
void st_destroy(void)
{
(*_st_eventsys->destroy)();
}
#ifdef ST_SWITCH_CB
st_switch_cb_t st_set_switch_in_cb(st_switch_cb_t cb)
{