Fix crash when sending SIGINT before starting the http server
This commit is contained in:
parent
88c3828ad3
commit
a93bad4cf3
2 changed files with 18 additions and 2 deletions
|
|
@ -154,6 +154,8 @@ int main(int argc, char *argv[]) {
|
|||
stream::rtpThread(shutdown_event);
|
||||
|
||||
httpThread.join();
|
||||
task_pool.stop();
|
||||
task_pool.join();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue