From 0f37256c59ced177a97c4150af4a05a1f639765c Mon Sep 17 00:00:00 2001 From: Green Sky Date: Mon, 15 Apr 2024 01:08:58 +0200 Subject: [PATCH] fix destruct order --- plugins/plugin_mfs_wip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/plugin_mfs_wip.cpp b/plugins/plugin_mfs_wip.cpp index 602f1f9..d19e7d5 100644 --- a/plugins/plugin_mfs_wip.cpp +++ b/plugins/plugin_mfs_wip.cpp @@ -55,8 +55,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_fsb.reset(); g_mfs.reset(); + g_fsb.reset(); } SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float time_delta) {