save options and delete temp dir on close
This commit is contained in:
parent
0eac32505b
commit
8d05a8893b
|
@ -71,9 +71,11 @@ public class OpsuDance {
|
||||||
while (rungame());
|
while (rungame());
|
||||||
container.teardownAL();
|
container.teardownAL();
|
||||||
|
|
||||||
|
Options.saveOptions();
|
||||||
closeSingleInstanceSocket();
|
closeSingleInstanceSocket();
|
||||||
DBController.closeConnections();
|
DBController.closeConnections();
|
||||||
DownloadList.get().cancelAllDownloads();
|
DownloadList.get().cancelAllDownloads();
|
||||||
|
Utils.deleteDirectory(Options.TEMP_DIR);
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean rungame() {
|
private boolean rungame() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user