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