25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix: properly disconnect agent-based database connections
t8y24207a891d193
diff --git a/src-tauri/src/commands/connection.rs b/src-tauri/src/commands/connection.rsindex 7b916a5528..a96e070c1f 100644--- a/src-tauri/src/commands/connection.rs+++ b/src-tauri/src/commands/connection.rs@@ -482,7 +482,10 @@ pub async fn disconnect_db(state: State<'_, Arc<AppState>>, connection_id: StrinPoolKind::ClickHouse(_) => {}PoolKind::SqlServer(_) => {}PoolKind::Elasticsearch(_) => {}- PoolKind::Agent(_) => {}+ PoolKind::Agent(client) => {+ let mut client = client.lock().await;+ let _ = client.disconnect().await;+ }PoolKind::ExternalTabular(_) => {}PoolKind::ExternalDriver { .. } => {}}