In one of the two typical paths the displayLoadingProgress is called twice.
If we create two loadingListeners, we leak one and this causes the CdiPanel
to be never garbage collected. As a result the java VM heap grows a lot and
eventually JMRI crashes with out of memory.
In one of the two typical paths the displayLoadingProgress is called twice. If we create two loadingListeners, we leak one and this causes the CdiPanel to be never garbage collected. As a result the java VM heap grows a lot and eventually JMRI crashes with out of memory.