-
Bug
-
Resolution: Done
-
Major
-
5.3.0.CR1
-
None
-
Workaround Exists
-
PropertyChangeListener of dynamic facts is not cleaned up on session.dispose() and the remaining listener may cause some issues later on (unexpected firePropertyChange() and memory leak etc.).
You can reproduce this with attached drl and java client.
The output would be like:
== Listeners attached before rules == == Listeners attached before rules == Print name of person: Test 2 Print name of person: Test 1 Session disposed == Listeners attached after rules == Listener attached of type: org.drools.common.NamedEntryPoint@7d15d06c Listener attached of type: org.drools.common.NamedEntryPoint@7d15d06c == Listeners attached after rules ==