diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-09-29 01:14:33 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-09-29 01:14:33 -0400 |
commit | df6b01a6323a6b04c7c77c57869a6abde2c0b1b7 (patch) | |
tree | bc1be1faadf108f92af4ead06bdcd19c6ea78ffd | |
parent | 9755090c8c8fa9f2c1a23146830b50dcb8faa780 (diff) | |
download | abaddon-portaudio-df6b01a6323a6b04c7c77c57869a6abde2c0b1b7.tar.gz abaddon-portaudio-df6b01a6323a6b04c7c77c57869a6abde2c0b1b7.zip |
dont purge on socket close
-rw-r--r-- | discord/discord.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/discord/discord.cpp b/discord/discord.cpp index 7a33c05..10bd322 100644 --- a/discord/discord.cpp +++ b/discord/discord.cpp @@ -2077,9 +2077,6 @@ void DiscordClient::HandleSocketClose(uint16_t code) { if (m_heartbeat_thread.joinable()) m_heartbeat_thread.join(); m_client_connected = false; - m_store.ClearAll(); - m_guild_to_users.clear(); - if (m_client_started && !m_reconnecting && close_code == GatewayCloseCode::Abnormal) { Glib::signal_timeout().connect_once([this] { if (m_client_started) HandleGatewayReconnect(GatewayMessage()); }, 1000); m_reconnecting = true; |