Is there a possibility to remove a PollListener in Vaadin 14?
UI.getCurrent().addPollListener(pollEvent -> { refresh(); }
I need to start refreshing, but if the Route or UI is changed, the refreshing has to stop.
Is there a "Vaadin possibility" for that, or do I have to build something on my own?
Thank you!