[rules-users] Shouldn't inserted objects be finalized after session.dispose()?

Sylvain Gaudan sylvain.gaudan at gmail.com
Fri Apr 11 05:35:25 EDT 2008


Hi,
  I thought that inserted objects should be finalized by the GC once
a statefulsession is dropped by session.dispose(). However, this is
done only if I retract handles one by one (session.retract(it.next()))
using the method session.iterateFactHandles() and then
session.dispose().

  Is it wrong to expect that the object should be dropped by the GC
once the session is disposed?
  Thank you for your help.
Kind regards,
  Sylvain.



More information about the rules-users mailing list