forked from OpenGamers/abaddon
fix potential deadlock
This commit is contained in:
parent
111399cf4a
commit
544ae6f915
@ -483,8 +483,8 @@ void DiscordClient::SendChatMessageAttachments(const ChatSubmitParams ¶ms, c
|
||||
nonce,
|
||||
static_cast<float>(ulnow) / static_cast<float>(ultotal));
|
||||
});
|
||||
m_generic_dispatch.emit();
|
||||
m_generic_mutex.unlock();
|
||||
m_generic_dispatch.emit();
|
||||
});
|
||||
req.make_form();
|
||||
req.add_field("payload_json", nlohmann::json(obj).dump().c_str(), CURL_ZERO_TERMINATED);
|
||||
|
Loading…
Reference in New Issue
Block a user