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:
@@ -291,6 +291,7 @@ public class RuneLite
|
||||
|
||||
public void shutdown()
|
||||
{
|
||||
configManager.sendConfig();
|
||||
clientSessionManager.shutdown();
|
||||
discordService.close();
|
||||
}
|
||||
|
||||
@@ -320,7 +320,6 @@ public class ClientUI
|
||||
() ->
|
||||
{
|
||||
saveClientBoundsConfig();
|
||||
configManager.sendConfig();
|
||||
runelite.shutdown();
|
||||
},
|
||||
this::showWarningOnExit
|
||||
|
||||
Reference in New Issue
Block a user