forked from External/mage
Removed more memory leaks in game and editor panes and panels of client.
This commit is contained in:
parent
48a7e52701
commit
dda33f86a4
12 changed files with 199 additions and 95 deletions
|
|
@ -68,6 +68,10 @@ public abstract class MagePane extends javax.swing.JInternalFrame {
|
|||
}
|
||||
|
||||
public void hideFrame() {
|
||||
MageFrame.deactivate(this);
|
||||
}
|
||||
|
||||
public void removeFrame() {
|
||||
KeyboardFocusManager.getCurrentKeyboardFocusManager().clearGlobalFocusOwner();
|
||||
try {
|
||||
this.setClosed(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue