mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 12:34:38 -07:00
fix: update currentSequenceModel when modelChanged (#17051)
This commit is contained in:
@@ -2037,9 +2037,8 @@ export class Config {
|
||||
*/
|
||||
async dispose(): Promise<void> {
|
||||
coreEvents.off(CoreEvent.AgentsRefreshed, this.onAgentsRefreshed);
|
||||
if (this.agentRegistry) {
|
||||
this.agentRegistry.dispose();
|
||||
}
|
||||
this.agentRegistry?.dispose();
|
||||
this.geminiClient?.dispose();
|
||||
if (this.mcpClientManager) {
|
||||
await this.mcpClientManager.stop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user