Skip to content

Commit

Permalink
Merge pull request #713 from jfclere/master
Browse files Browse the repository at this point in the history
Fix for MODCLUSTER-790.
  • Loading branch information
rhusar authored Jul 19, 2023
2 parents b79fc8d + 247b11a commit de8c5ec
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ public void removeRequestListener(ServletRequestListener requestListener) {

@Override
public int getActiveSessionCount() {
if (this.context.getManager() == null) {
return 0;
}
return this.context.getManager().getActiveSessions();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ public void removeRequestListener(ServletRequestListener requestListener) {

@Override
public int getActiveSessionCount() {
if (this.context.getManager() == null) {
return 0;
}
return this.context.getManager().getActiveSessions();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ public void removeRequestListener(ServletRequestListener requestListener) {

@Override
public int getActiveSessionCount() {
if (this.context.getManager() == null) {
return 0;
}
return this.context.getManager().getActiveSessions();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ public void removeRequestListener(ServletRequestListener requestListener) {

@Override
public int getActiveSessionCount() {
if (this.context.getManager() == null) {
return 0;
}
return this.context.getManager().getActiveSessions();
}

Expand Down

0 comments on commit de8c5ec

Please sign in to comment.