mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Tests: fixed performance problem (x20 speed up, no need to call full garbage collector manually)
This commit is contained in:
parent
b353a25f57
commit
8e3b610a0c
3 changed files with 1 additions and 3 deletions
|
|
@ -122,7 +122,6 @@ public class CardGrid extends javax.swing.JLayeredPane implements MouseListener,
|
|||
addCard(card, bigCard, gameId, drawImage);
|
||||
}
|
||||
}
|
||||
// System.gc();
|
||||
drawCards(sortSetting);
|
||||
this.setVisible(true);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -648,7 +648,7 @@ public class DownloadPictures extends DefaultBoundedRangeModel implements Runnab
|
|||
logger.fatal("Couldn't unmount zip files", e);
|
||||
JOptionPane.showMessageDialog(null, "Couldn't unmount zip files", "Error", JOptionPane.ERROR_MESSAGE);
|
||||
} finally {
|
||||
System.gc();
|
||||
//
|
||||
}
|
||||
closeButton.setText("Close");
|
||||
updateCardsToDownload(jComboBoxSet.getSelectedItem().toString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue