mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
change forward schema
This commit is contained in:
parent
bef7e20ed9
commit
8cd1c11add
4 changed files with 43 additions and 15 deletions
|
@ -52,12 +52,7 @@ void memory_alloc_profile() {
|
|||
memory_alloc_profile_imp();
|
||||
}
|
||||
|
||||
void handler(int sig) {
|
||||
exit(0);
|
||||
}
|
||||
int main(int argc, char** argv) {
|
||||
signal(SIGINT, handler);
|
||||
|
||||
// must start profiler manually.
|
||||
HeapProfilerStart(NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue