mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
LWJGInstaller: Run the uninstaller before installing instead of at VM exit
This commit is contained in:
parent
02d9944b2f
commit
c2ed404c44
1 changed files with 1 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue