ArcBees/GWTP

memory leak in PopupViewImpl

Opened this issue · 1 comments

Hi,

leaks memory.

We have some very large non-singleton popups in our application, and when we upgraded GWT-P and pulled in this code, the application started leaking a ton of memory and slowing down. Window lives forever, and popups never get GC'd.

Overloading repositionOnWindowResize to return false prevents the addition of the resize handler, which works us around the issue.

Just curious... why not configure popupPresenters as singletons?