diff --git a/src/discord_rpc.cpp b/src/discord_rpc.cpp index a81e91c..3bb6c12 100644 --- a/src/discord_rpc.cpp +++ b/src/discord_rpc.cpp @@ -459,6 +459,7 @@ extern "C" DISCORD_EXPORT void Discord_Shutdown(void) } Connection->onConnect = nullptr; Connection->onDisconnect = nullptr; + Connection->onDebug = nullptr; Handlers = {}; QueuedPresence.length = 0; UpdatePresence.exchange(false);