Merge pull request #7010 from raiyni/post-onclose

Send config updates on close
This commit is contained in:
Adam
2018-12-19 19:12:46 -05:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -561,7 +561,7 @@ public class ConfigManager
return object.toString(); return object.toString();
} }
private void sendConfig() public void sendConfig()
{ {
synchronized (pendingChanges) synchronized (pendingChanges)
{ {

View File

@@ -320,6 +320,7 @@ public class ClientUI
() -> () ->
{ {
saveClientBoundsConfig(); saveClientBoundsConfig();
configManager.sendConfig();
runelite.shutdown(); runelite.shutdown();
}, },
this::showWarningOnExit this::showWarningOnExit