jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: MicroKernel.getInstance
Date Wed, 11 Apr 2012 12:00:04 GMT
Hi,

On Wed, Apr 11, 2012 at 1:57 PM, Thomas Mueller <mueller@adobe.com> wrote:
> Obviously, the dispose() call is missing in the second code.
>
> Do you think this is not needed?

Exactly.

Only the code that creates the MicroKernel instance should ever call
dispose(), not any client that just accesses it.

BR,

Jukka Zitting

Mime
View raw message