Move configManager.sendConfig to RuneLite#shutdown

It should've been here in first place, there is no reason for it to be
in ClientUI.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2019-01-18 21:24:15 +01:00
parent eb69a8990b
commit 01c3bcafce
2 changed files with 1 additions and 1 deletions

View File

@@ -291,6 +291,7 @@ public class RuneLite
public void shutdown()
{
configManager.sendConfig();
clientSessionManager.shutdown();
discordService.close();
}

View File

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