fix(plugin): prevent re-entrant plugin dispatch deadlock in execute_command

This commit is contained in:
yztink committed 2026-09-20 21:31:16 -07:00
1 parent fbedb3736e
commit c96de124b6
2 files changed
+11 -6

No files matched your search

+1 -1
View File
@@ -432,7 +432,7 @@ impl<'a> HostSession<'a> {
let cmd_name = parts[0];
let resolved = self.app.resolve_alias(cmd_name);
let effective = resolved.as_deref().unwrap_or(cmd_name);
let _ = self.app.dispatch_command(effective);
let _ = self.app.dispatch_command_without_plugins(effective);
}
let mut paused = false;