LWJGInstaller: Run the uninstaller before installing instead of at VM exit

This commit is contained in:
Elias Naur 2006-07-11 19:06:11 +00:00
parent 02d9944b2f
commit c2ed404c44
1 changed files with 1 additions and 5 deletions

View File

@ -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;
}
});