forked from 1b-agent/opencadstudio-upstream
fix(plugin): prevent re-entrant plugin dispatch deadlock in execute_command
This commit is contained in:
1 parent
fbedb3736e
commit
c96de124b6
2 files changed
+11
-6
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user