properly cleanup globals

This commit is contained in:
Green Sky 2024-10-31 11:44:35 +01:00
parent e4eaf91a68
commit 51a5e841a6
No known key found for this signature in database

View File

@ -59,6 +59,8 @@ SOLANA_PLUGIN_EXPORT uint32_t solana_plugin_start(struct SolanaAPI* solana_api)
SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) { SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
std::cout << "PLUGIN " << plugin_name << " STOP()\n"; std::cout << "PLUGIN " << plugin_name << " STOP()\n";
g_irccmm.reset();
g_ircccm.reset();
g_ircc.reset(); g_ircc.reset();
} }