Fix window sticking around - it doesn't anymore
This commit is contained in:
parent
e1fc02b5b9
commit
825f1a8b50
|
@ -77,10 +77,13 @@ public class FMLEmbeddingRelauncher
|
|||
ReflectionHelper.setPrivateValue(client, null, minecraftHome, "field_6275_Z", "ap", "minecraftDir");
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (popupWindow!=null)
|
||||
{
|
||||
popupWindow.setVisible(false);
|
||||
popupWindow.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -182,6 +185,14 @@ public class FMLEmbeddingRelauncher
|
|||
{
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (popupWindow!=null)
|
||||
{
|
||||
popupWindow.setVisible(false);
|
||||
popupWindow.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void appletStart(Applet applet)
|
||||
|
|
Loading…
Reference in New Issue