JBoss Community

Re: KnowledgeBase keeps links to stateful sessions after disposing

created by Tihomir Surdilovic in jBPM - View the full discussion

Your sample code uses stateless sessions, not stateful, so not sure where dispose applies here. Stateless sessions are fire-and-forget. So once you execute it, you should set it to null in your example, otherwise yes the reference to it will keep existing.

Reply to this message by going to Community

Start a new discussion in jBPM at Community