Fix crash when sending SIGINT before starting the http server

This commit is contained in:
loki 2021-05-05 15:53:22 +02:00
commit a93bad4cf3
2 changed files with 18 additions and 2 deletions

View file

@ -154,6 +154,8 @@ int main(int argc, char *argv[]) {
stream::rtpThread(shutdown_event);
httpThread.join();
task_pool.stop();
task_pool.join();
return 0;
}