mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-25 19:35:38 +00:00
fixup! Announce-Service: Add conditional variable for the wait in the announce thread
This commit is contained in:
parent
eba2351f9e
commit
423df498d9
|
@ -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