forked from External/mage
Some changes to reduce memory leaks.
This commit is contained in:
parent
e2c0e211ef
commit
30ddcaf99b
12 changed files with 139 additions and 83 deletions
|
|
@ -64,7 +64,7 @@ public class DraftPanel extends javax.swing.JPanel {
|
|||
private int timeout;
|
||||
private boolean picked;
|
||||
|
||||
private static CardsView emptyView = new CardsView();
|
||||
private static final CardsView emptyView = new CardsView();
|
||||
|
||||
/** Creates new form DraftPanel */
|
||||
public DraftPanel() {
|
||||
|
|
@ -162,7 +162,7 @@ public class DraftPanel extends javax.swing.JPanel {
|
|||
c = c.getParent();
|
||||
}
|
||||
if (c != null) {
|
||||
((DraftPane)c).hideFrame();
|
||||
((DraftPane)c).hideDraft();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue