Actually, closing the factory should be irrelevant.
If all sessions are closed, then the factory will close the PingRunnable anyway, so there
should be no need for an explicit close() method on the factory (I was going to remove
this).
Now, garbage collection will close unclosed sessions so it shouldn't be possible for a
factory to cause a leak.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249976#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...