Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Update geyser-plugin-manager/src/geyser_plugin_manager.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Tyera <teulberg@gmail.com>
  • Loading branch information
lijunwangs and CriesofCarrots authored Nov 20, 2023
1 parent 9c1ff8d commit b7314fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geyser-plugin-manager/src/geyser_plugin_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ impl GeyserPluginManager {
let mut current_plugin = self.plugins.remove(idx);
let name = current_plugin.name().to_string();
current_plugin.on_unload();
// The plugin must be first dropped before dropping the library to avoid crash.
// The plugin must be dropped before the library to avoid a crash.
drop(current_plugin);
drop(current_lib);
info!("Unloaded plugin {name} at idx {idx}");
Expand Down

0 comments on commit b7314fa

Please sign in to comment.