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:
parent
da5bf47a52
commit
158cf79834
|
@ -93,6 +93,9 @@ public class AboutWindow extends Window implements EventListener<Event> {
|
||||||
|
|
||||||
private void init() {
|
private void init() {
|
||||||
|
|
||||||
|
System.runFinalization();
|
||||||
|
System.gc();
|
||||||
|
|
||||||
this.setPosition("center");
|
this.setPosition("center");
|
||||||
this.setTitle(ThemeManager.getBrowserTitle());
|
this.setTitle(ThemeManager.getBrowserTitle());
|
||||||
this.setClosable(true);
|
this.setClosable(true);
|
||||||
|
|
Loading…
Reference in New Issue