mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix window sticking around - it doesn't anymore
This commit is contained in:
1 parent
3257d2595d
commit
8580a99728
1 file changed
+13
-2
@@ -78,8 +78,11 @@ public class FMLEmbeddingRelauncher
|
||||
}
|
||||
finally
|
||||
{
|
||||
popupWindow.setVisible(false);
|
||||
popupWindow.dispose();
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user