diff options
author | John Ahlroos <john@vaadin.com> | 2012-11-05 14:42:09 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-11-05 14:42:09 +0000 |
commit | 125dcf3cdf9eb206bcd372e977cc7f994b659fd5 (patch) | |
tree | f5d41bcef841d2c038399e2129ea7ff78a4f649b /client | |
parent | 1746dff124c644f4348ccf3ecf55d250a8869d75 (diff) | |
parent | 2cc6f64aa085e471219567c6d53603b284e6ba71 (diff) | |
download | vaadin-framework-125dcf3cdf9eb206bcd372e977cc7f994b659fd5.tar.gz vaadin-framework-125dcf3cdf9eb206bcd372e977cc7f994b659fd5.zip |
Merge "ProgressIndicator now stops polling when removed (#10130)"
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java b/client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java index 40b3a227c4..a92fea55f9 100644 --- a/client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java +++ b/client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java @@ -59,6 +59,12 @@ public class ProgressIndicatorConnector extends AbstractFieldConnector { } @Override + public void onUnregister() { + super.onUnregister(); + poller.cancel(); + } + + @Override public VProgressIndicator getWidget() { return (VProgressIndicator) super.getWidget(); } |