save options and delete temp dir on close

This commit is contained in:
yugecin 2017-01-18 19:41:27 +01:00
parent 0eac32505b
commit 8d05a8893b

View File

@ -71,9 +71,11 @@ public class OpsuDance {
while (rungame());
container.teardownAL();
Options.saveOptions();
closeSingleInstanceSocket();
DBController.closeConnections();
DownloadList.get().cancelAllDownloads();
Utils.deleteDirectory(Options.TEMP_DIR);
}
private boolean rungame() {