Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta
-
Fix Version/s: 2.0-beta
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
All of the GoovyNodeBuilderTestCases build the nanocontainer. (Which currently forces a start lifecycle to be called.)
But then at the end of the test, dispose() is called without calling stop().
If a container is started() when dispose() is called, then dispose() should call stop() before proceeding.
To me, it is conceivable that resources might be leaked otherwise.
P.S. If nobody has objections, I would like to change this behavior.