mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
Merge remote-tracking branch 'origin/master' into optimizations
This commit is contained in:
commit
7f74005454
1 changed files with 7 additions and 3 deletions
|
@ -53,9 +53,13 @@ public void invoke(String... args) throws Exception {
|
||||||
} else if(args[1].equals("undo"))
|
} else if(args[1].equals("undo"))
|
||||||
{
|
{
|
||||||
if(providersCache[index] == null) LogHelper.error("Cache clean. Undo impossible");
|
if(providersCache[index] == null) LogHelper.error("Cache clean. Undo impossible");
|
||||||
|
else
|
||||||
|
{
|
||||||
server.config.authProvider[index].close();
|
server.config.authProvider[index].close();
|
||||||
server.config.authProvider[index] = providersCache[index];
|
server.config.authProvider[index] = providersCache[index];
|
||||||
providersCache[index] = null;
|
providersCache[index] = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue