mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-02 08:25:07 +01: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 New Issue
Block a user