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();
|
||||
}
|
||||
});
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue