Comments (1)
On a quick glance this override to the UI class seems to help:
@Override
public void doRefresh(VaadinRequest request) {
PushConnection pushConnection = getPushConnection();
if (pushConnection instanceof AtmospherePushConnection
&& pushConnection.isConnected()) {
pushConnection.disconnect();
}
super.doRefresh(request);
}
This method is called when the UI is reinitialized, and closing the old connection here already (rather than later, when the new connection is ready to be registered) stops the Push from attempting to send more requests through the old connection and increasing the counter with every call while the new connection is still being initialized. I haven't run this solution through our validation builds yet, but at least my test project seems to behave better with it.
from framework.
Related Issues (20)
- License checker in Framework 8.16.0 incompatible with the one in 23.1.3 HOT 5
- Firefox does not retain browser's scroll position when switching tab in TabSheet HOT 1
- IPV6 Bug HOT 1
- Combobox dropdown always marks the first item as selected HOT 2
- v8 Grid field focus breaks frozen columns HOT 3
- Combobox suggestion popup filtering UI test waitForVaadin newer finishes HOT 18
- java.lang.AssertionError: null in ConnectorTracker HOT 12
- Jakarta / Servlet 6 Support for Extended Maintenance HOT 8
- Tabsheet scroller should scroll continuously while pressing the mouse button down HOT 1
- Vaadin framework 8.18.0 has dependency to old Liferay version HOT 3
- Possible performance impact due com.vaadin.mpr.MprServlet detection HOT 4
- VaadinPortlet NoClassDefFoundError with Liferay HOT 25
- scrollIntoView no longer works within Grid as of Vaadin 8.18.0 HOT 7
- The provided license key does not allow usage of vaadin-framework 8.20.0 HOT 4
- getContentDispositionFilename uses encodedFilename in both parameters where decoded one should be used
- ColorPickerHistory always sets white color
- Layout issue with TwinColSelect within initially open Window on the very first load (Firefox)
- HTML5 drag'n'drop doesn't work with Images
- Grid is missing scrollbars in Firefox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.