mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-06 00:40:00 +01:00
LWJGInstaller: Run the uninstaller before installing instead of at VM exit
This commit is contained in:
parent
02d9944b2f
commit
c2ed404c44
|
|
@ -110,11 +110,7 @@ public class LWJGLInstaller {
|
|||
|
||||
AccessController.doPrivileged(new PrivilegedAction() {
|
||||
public Object run() {
|
||||
Runtime.getRuntime().addShutdownHook(new Thread() {
|
||||
public void run() {
|
||||
uninstall();
|
||||
}
|
||||
});
|
||||
uninstall();
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue