diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-10 12:02:14 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-10 12:02:50 +0300 |
commit | def6b2fee7f8922e73858b15c956c11276adf176 (patch) | |
tree | bfb18caac9a421a67f37d9985120127d4c25d2a6 /server/src/com/vaadin/ui/ConnectorTracker.java | |
parent | 88f77a4e7c1b6e0a92a58c9d9bd175120684ef2f (diff) | |
download | vaadin-framework-def6b2fee7f8922e73858b15c956c11276adf176.tar.gz vaadin-framework-def6b2fee7f8922e73858b15c956c11276adf176.zip |
Revert "Verify that lock is held when accessing state (#9515)"
This reverts commit 998c9c97b4b7d9531028b442df4c38a33b60e5f0.
Diffstat (limited to 'server/src/com/vaadin/ui/ConnectorTracker.java')
-rw-r--r-- | server/src/com/vaadin/ui/ConnectorTracker.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/src/com/vaadin/ui/ConnectorTracker.java b/server/src/com/vaadin/ui/ConnectorTracker.java index dbada63a47..d454df98ee 100644 --- a/server/src/com/vaadin/ui/ConnectorTracker.java +++ b/server/src/com/vaadin/ui/ConnectorTracker.java @@ -29,7 +29,6 @@ import com.vaadin.server.AbstractClientConnector; import com.vaadin.server.AbstractCommunicationManager; import com.vaadin.server.ClientConnector; import com.vaadin.server.GlobalResourceHandler; -import com.vaadin.server.VaadinSession; /** * A class which takes care of book keeping of {@link ClientConnector}s for a @@ -287,8 +286,6 @@ public class ConnectorTracker implements Serializable { * The connector that should be marked clean. */ public void markDirty(ClientConnector connector) { - assert uI.getSession() == null - || uI.getSession().getLock().isHeldByCurrentThread() : VaadinSession.SESSION_LOCK_MESSAGE; if (isWritingResponse()) { throw new IllegalStateException( "A connector should not be marked as dirty while a response is being written."); |