diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-08-31 13:50:03 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-08-31 13:50:15 +0300 |
commit | 913aa7f01417a22833ef326fbf8fe7b83a2086ee (patch) | |
tree | 747005e9d09e3eb0e7a2aae2e8d43eb45cf92dcb /server | |
parent | 0a1519be5ebdbbb5a666f5a3bba871dd3d779201 (diff) | |
download | vaadin-framework-913aa7f01417a22833ef326fbf8fe7b83a2086ee.tar.gz vaadin-framework-913aa7f01417a22833ef326fbf8fe7b83a2086ee.zip |
Don't mark connectors as clean until they won't get dirty again (#9444)
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/server/AbstractCommunicationManager.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/AbstractCommunicationManager.java b/server/src/com/vaadin/server/AbstractCommunicationManager.java index 2655ee9a00..08ad48ff3d 100644 --- a/server/src/com/vaadin/server/AbstractCommunicationManager.java +++ b/server/src/com/vaadin/server/AbstractCommunicationManager.java @@ -832,7 +832,6 @@ public abstract class AbstractCommunicationManager implements Serializable { .isClientSideInitialized(connector); connector.beforeClientResponse(!initialized); } - uiConnectorTracker.markAllConnectorsClean(); outWriter.print("\"changes\":["); @@ -943,6 +942,8 @@ public abstract class AbstractCommunicationManager implements Serializable { outWriter.append(hierarchyInfo.toString()); outWriter.print(", "); // close hierarchy + uiConnectorTracker.markAllConnectorsClean(); + // send server to client RPC calls for components in the UI, in call // order @@ -1233,6 +1234,8 @@ public abstract class AbstractCommunicationManager implements Serializable { uiConnectorTracker.markClientSideInitialized(connector); } + assert (uiConnectorTracker.getDirtyConnectors().isEmpty()) : "Connectors have been marked as dirty during the end of the paint phase. This is most certainly not intended."; + writePerformanceData(outWriter); } |