Details
-
Bug
-
Resolution: Done
-
Major
-
5.3.0.Final
-
None
Description
When loading a Drools Flow StatefulKnowledgeSession with JPAKnowledgeService.loadStatefulKnowledgeSession, AbstractEventSupport.listeners has 2 listeners added to it. When the StatefulKnowledgeSession is disposed() only 1 of the listeners is removed. In the attached test this causes 100 ReteooStatefulSession objects to stay alive.