Remove use shutdown signal inside init function
This commit is contained in:
parent
1afd1b7c94
commit
e53f65c305
3 changed files with 11 additions and 9 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue