In my bundle I am accessing Session like this
Session session=slingRequest.getResourceResolver().adaptTo(Session.class);
I am concerned about creating possible memory leaks. My question is should I be doing session.logout() here after my bundle completes execution?