mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-25 13:25:38 +00:00
better disposing windows on restart
This commit is contained in:
@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.gui;
|
||||
|
||||
import com.jpexs.decompiler.flash.configuration.Configuration;
|
||||
import com.jpexs.decompiler.flash.gui.player.FlashPlayerPanel;
|
||||
import com.jpexs.helpers.Helper;
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Container;
|
||||
import java.awt.Dimension;
|
||||
@@ -126,7 +127,9 @@ public final class MainFrameClassic extends AppFrame implements MainFrame {
|
||||
public void dispose() {
|
||||
removeAll();
|
||||
mainMenu.dispose();
|
||||
Helper.emptyObject(mainMenu);
|
||||
panel.dispose();
|
||||
Helper.emptyObject(this);
|
||||
super.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user