Add Try/catch to DataSource close

This commit is contained in:
Xephi59 2015-08-22 15:30:17 +02:00
parent cd0659ac89
commit c7a711d0b2

View File

@ -710,8 +710,11 @@ public class MySQL implements DataSource {
@Override
public synchronized void close() {
if (ds != null)
ds.close();
try {
if (ds != null)
ds.close();
} catch (Exception e) {
}
}
@Override