mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-27 13:50:00 +03:00
fix close bug
This commit is contained in:
parent
5c38e03301
commit
dcc24f1f58
1 changed files with 4 additions and 1 deletions
3
mysql.d
3
mysql.d
|
@ -229,7 +229,10 @@ class MySql : Database {
|
|||
}
|
||||
|
||||
void close() {
|
||||
if(mysql) {
|
||||
mysql_close(mysql);
|
||||
mysql = null;
|
||||
}
|
||||
}
|
||||
|
||||
~this() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue