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());
|
||||
container.teardownAL();
|
||||
|
||||
Options.saveOptions();
|
||||
closeSingleInstanceSocket();
|
||||
DBController.closeConnections();
|
||||
DownloadList.get().cancelAllDownloads();
|
||||
Utils.deleteDirectory(Options.TEMP_DIR);
|
||||
}
|
||||
|
||||
private boolean rungame() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user