Remove use shutdown signal inside init function

This commit is contained in:
loki 2021-06-09 22:01:18 +02:00
commit e53f65c305
3 changed files with 11 additions and 9 deletions

View file

@ -196,7 +196,10 @@ int main(int argc, char *argv[]) {
if(video::init()) {
return 2;
}
http::init(shutdown_event);
if(http::init()) {
return 3;
}
task_pool.start(1);
std::thread httpThread { nvhttp::start, shutdown_event };