fix(connection): keep config after disconnect

This commit is contained in:
t8y2 committed 2026-05-28 18:48:53 +08:00
1 parent 832d8276a0
commit e725dd0379
2 files changed
+27 -2

No files matched your search

-1
View File
@@ -529,7 +529,6 @@ pub async fn disconnect_db(state: State<'_, Arc<AppState>>, connection_id: Strin
}
}
drop(conns);
state.configs.write().await.remove(&connection_id);
state.reset_connection_transport(&connection_id).await;
Ok(())
}