This commit is contained in:
Chaoscaot
2023-03-09 19:09:55 +01:00
parent a2a750f20e
commit 99b48ba42b
4 changed files with 8 additions and 2 deletions

View File

@@ -65,3 +65,7 @@ pub async fn load_schemdata(id: i32) -> Vec<u8> {
rows.get(0)
}
pub async fn close() {
unsafe { CONN.lock().unwrap().take().unwrap().close().await }
}