Try to fix shop missing problem

Former-commit-id: 2389865fad7d5d075c280bb0ef78a633ebd66eae
This commit is contained in:
sandtechnology committed 2020-08-03 19:59:33 +08:00
1 parent eda7355c68
commit 427afd29be
2 files changed
+10

No files matched your search

@@ -72,6 +72,12 @@ public class MySQLCore implements DatabaseCore {
@Override
public void close() {
try {
for (Connection connection : POOL) {
connection.close();
}
} catch (SQLException ignored) {
}
// Nothing, because queries are executed immediately for MySQL
}
@@ -50,6 +50,10 @@ public class SQLiteCore implements DatabaseCore {
@Override
public void close() {
flush();
try {
connection.close();
} catch (SQLException ignored) {
}
}
@Override