You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by pa...@apache.org on 2012/04/19 11:09:32 UTC
[21/22] git commit: WICKET-4489 HttpSessionStore.onUnbind is never
invoked
WICKET-4489 HttpSessionStore.onUnbind is never invoked
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/0a93fc84
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/0a93fc84
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/0a93fc84
Branch: refs/heads/sandbox/atmosphere
Commit: 0a93fc84b6049ae6b46ea8d5f4e54db0a1805e08
Parents: 78d3936
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Tue Apr 10 15:15:55 2012 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Tue Apr 10 15:15:55 2012 +0300
----------------------------------------------------------------------
.../apache/wicket/session/HttpSessionStore.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/0a93fc84/wicket-core/src/main/java/org/apache/wicket/session/HttpSessionStore.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/session/HttpSessionStore.java b/wicket-core/src/main/java/org/apache/wicket/session/HttpSessionStore.java
index 24c3607..26211a3 100644
--- a/wicket-core/src/main/java/org/apache/wicket/session/HttpSessionStore.java
+++ b/wicket-core/src/main/java/org/apache/wicket/session/HttpSessionStore.java
@@ -452,6 +452,11 @@ public class HttpSessionStore implements ISessionStore
ISessionStore sessionStore = application.getSessionStore();
if (sessionStore != null)
{
+ if (sessionStore instanceof HttpSessionStore)
+ {
+ ((HttpSessionStore) sessionStore).onUnbind(sessionId);
+ }
+
for (UnboundListener listener : sessionStore.getUnboundListener())
{
listener.sessionUnbound(sessionId);