From 51a5e841a64589edfc699257c0e89ac6c3b6a358 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Thu, 31 Oct 2024 11:44:35 +0100 Subject: [PATCH] properly cleanup globals --- plugins/plugin_ircclient.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/plugin_ircclient.cpp b/plugins/plugin_ircclient.cpp index c000ee2..bc69c06 100644 --- a/plugins/plugin_ircclient.cpp +++ b/plugins/plugin_ircclient.cpp @@ -59,6 +59,8 @@ SOLANA_PLUGIN_EXPORT uint32_t solana_plugin_start(struct SolanaAPI* solana_api) SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) { std::cout << "PLUGIN " << plugin_name << " STOP()\n"; + g_irccmm.reset(); + g_ircccm.reset(); g_ircc.reset(); }