Skip to content

Commit

Permalink
asan: srs_st_uninit should be call in hybrid server stop
Browse files Browse the repository at this point in the history
  • Loading branch information
chen-guanghua committed Nov 21, 2022
1 parent ecc438d commit 7914759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions trunk/src/app/srs_app_hybrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ void SrsHybridServer::stop()
ISrsHybridServer* server = *it;
server->stop();
}

srs_st_uninit();
}

SrsServerAdapter* SrsHybridServer::srs()
Expand Down
2 changes: 0 additions & 2 deletions trunk/src/main/srs_main_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@ srs_error_t do_main(int argc, char** argv, char** envp)
return srs_error_wrap(err, "run");
}

srs_st_uninit();

return err;
}

Expand Down

0 comments on commit 7914759

Please sign in to comment.