fix(connection): keep config after disconnect
This commit is contained in:
1 parent
832d8276a0
commit
e725dd0379
2 files changed
+27
-2
No files matched your search
@@ -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(())
|
||||
}
|
||||
Reference in new issue
Block a user