mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-11-09 14:03:18 +09:00
temporary workaround for hanging when interrupting application before http server started
This commit is contained in:
1 parent
63d15333f2
commit
7b86ea9e87
1 file changed
+5
@@ -200,6 +200,11 @@ int main(int argc, char *argv[]) {
|
||||
return 3;
|
||||
}
|
||||
|
||||
//FIXME: Temporary workaround: Simple-Web_server needs to be updated or replaced
|
||||
if(shutdown_event->peek()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
task_pool.start(1);
|
||||
|
||||
std::thread httpThread { nvhttp::start, shutdown_event };
|
||||
|
||||
Reference in new issue
Block a user