Fix deadlock

This commit is contained in:
Gregory Schier
2025-07-20 08:58:22 -07:00
parent 86f23990eb
commit 947926ca34

View File

@@ -240,9 +240,6 @@ impl PluginManager {
plugins.retain(|p| p.dir != dir);
plugins.push(plugin_handle.clone());
// Add the new plugin
self.plugins.lock().await.push(plugin_handle.clone());
let _ = match event.payload {
InternalEventPayload::BootResponse(resp) => resp,
_ => return Err(UnknownEventErr),