Fixed plugin stop and auth

This commit is contained in:
2025-12-21 22:54:12 +01:00
parent 0833537e5e
commit 58f9321162
3 changed files with 9 additions and 6 deletions
+3 -1
View File
@@ -258,7 +258,9 @@ impl Server {
// Stop plugins
for plugin in self.plugins.lock().unwrap().iter_mut() {
let _ = plugin.stop();
if let Err(e) = plugin.stop() {
Self::LOGGER.warn(e.context("Couldn't stop plugin"));
}
}
Self::LOGGER.info("Shutdown complete");