fixup! Announce-Service: Add conditional variable for the wait in the announce thread
This commit is contained in:
parent
eba2351f9e
commit
423df498d9
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public:
|
|||
void AddPlayer(const std::string& /*nickname*/, const MacAddress& /*mac_address*/,
|
||||
const u64 /*game_id*/, const std::string& /*game_name*/) override {}
|
||||
std::future<Common::WebResult> Announce() override {
|
||||
return std::async(std::launch::async, []() {
|
||||
return std::async(std::launch::deferred, []() {
|
||||
return Common::WebResult{Common::WebResult::Code::NoWebservice,
|
||||
"WebService is missing"};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue