Browse Source

Properly remove shadow event listeners to prevent IE8 memory leak (#13129)

Change-Id: I98becf08f56ce35a3ee47650d0d4e204e7d18e73
tags/7.1.10
Teppo Kurki 10 years ago
parent
commit
65c2f2bf06
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      client/src/com/vaadin/client/ui/VOverlay.java

+ 2
- 2
client/src/com/vaadin/client/ui/VOverlay.java View File

@@ -241,10 +241,10 @@ public class VOverlay extends PopupPanel implements CloseHandler<PopupPanel> {

private void removeShadowIfPresent() {
if (isShadowAttached()) {
shadow.removeFromParent();

// Remove event listener from the shadow
unsinkShadowEvents();

shadow.removeFromParent();
}
}


Loading…
Cancel
Save