mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-13 20:18:50 +03:00
fix potential deadlock
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user