minor - Call GC and finalization when we open the about window so that we can better observe the changes in heap space.

This commit is contained in:
Heng Sin Low 2012-06-20 16:13:38 +08:00
parent da5bf47a52
commit 158cf79834
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ public class AboutWindow extends Window implements EventListener<Event> {
private void init() {
System.runFinalization();
System.gc();
this.setPosition("center");
this.setTitle(ThemeManager.getBrowserTitle());
this.setClosable(true);