mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-22 07:14:16 +03:00
[FIX] Теперь GC не съест Updater.
Signed-off-by: zaxar163 <zahar.vcherachny@yandex.ru>
This commit is contained in:
parent
237a2a2f92
commit
9e4df1d196
2 changed files with 4 additions and 2 deletions
|
@ -288,6 +288,8 @@ public static void main(String... args) throws Throwable {
|
|||
|
||||
public volatile Map<String, SignedObjectHolder<HashedDir>> updatesDirMap;
|
||||
|
||||
public final Updater updater;
|
||||
|
||||
public static Gson gson;
|
||||
public static GsonBuilder gsonBuilder;
|
||||
|
||||
|
@ -439,7 +441,7 @@ public LaunchServer(Path dir, String[] args) throws IOException, InvalidKeySpecE
|
|||
// post init modules
|
||||
modulesManager.postInitModules();
|
||||
// start updater
|
||||
new Updater(this);
|
||||
this.updater = new Updater(this);
|
||||
}
|
||||
|
||||
public static void initGson() {
|
||||
|
|
2
modules
2
modules
|
@ -1 +1 @@
|
|||
Subproject commit 38e11640ce4a4ed3e9745718db02a888770a22bb
|
||||
Subproject commit 53106ee20700cb73ad65fd7dddf69b0d0b766f4c
|
Loading…
Reference in a new issue