|
|
@@ -1226,13 +1226,14 @@ public abstract class VaadinService implements Serializable { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Called at the end of a request, after sending the response. Closes |
|
|
|
* inactive UIs in the given session, removes closed UIs from the session, |
|
|
|
* and closes the session if it is itself inactive. |
|
|
|
* Closes inactive UIs in the given session, removes closed UIs from the |
|
|
|
* session, and closes the session if it is itself inactive. This operation |
|
|
|
* should not be performed without first acquiring the session lock. By |
|
|
|
* default called at the end of each request, after sending the response. |
|
|
|
* |
|
|
|
* @param session |
|
|
|
*/ |
|
|
|
void cleanupSession(VaadinSession session) { |
|
|
|
public void cleanupSession(VaadinSession session) { |
|
|
|
if (isSessionActive(session)) { |
|
|
|
closeInactiveUIs(session); |
|
|
|
removeClosedUIs(session); |