mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 18:36:34 +00:00
refactor(sonar): migrate worker threads to std::jthread (#5398)
This commit is contained in:
+1
-1
@@ -1845,7 +1845,7 @@ namespace confighttp {
|
||||
return;
|
||||
}
|
||||
};
|
||||
std::thread tcp {accept_and_run, &server};
|
||||
std::jthread tcp {accept_and_run, &server};
|
||||
|
||||
// Wait for any event
|
||||
shutdown_event->view();
|
||||
|
||||
Reference in New Issue
Block a user