fix destruct order

This commit is contained in:
Green Sky 2024-04-15 01:08:58 +02:00
parent f683db1973
commit 0f37256c59
No known key found for this signature in database

View File

@ -55,8 +55,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_fsb.reset();
g_mfs.reset(); g_mfs.reset();
g_fsb.reset();
} }
SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float time_delta) { SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float time_delta) {