mirror of
https://github.com/AppleDash/SaneEconomy.git
synced 2024-11-26 03:55:46 +01:00
Quick bug fix
This commit is contained in:
parent
8345b3a478
commit
142b794abf
@ -80,7 +80,7 @@ public class SaneEconomy extends SanePlugin implements ISaneEconomy {
|
||||
economyManager.getBackend().waitUntilFlushed();
|
||||
if (economyManager.getBackend() instanceof EconomyStorageBackendMySQL) {
|
||||
((EconomyStorageBackendMySQL) economyManager.getBackend()).closeConnections();
|
||||
if (((EconomyStorageBackendMySQL) economyManager.getBackend()).getConnection().getConnection().isFinished()) {
|
||||
if (!((EconomyStorageBackendMySQL) economyManager.getBackend()).getConnection().getConnection().isFinished()) {
|
||||
this.getLogger().warning("SaneDatabase didn't terminate all threads, something weird is going on?");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user