Fix sonar issue: call remove on threadlocal variable c_guestSession when session is removed
thread could be reused on application servers, which may end up causing memory leaks
@@ -467,6 +467,7 @@ public final class WikiSession implements Session {
}
final SessionMonitor monitor = SessionMonitor.getInstance( engine );
monitor.remove( request.getSession() );
+ c_guestSession.remove();
}
/**
