Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
Hi,
I know that you are supposed to close any resource resolvers you create. My question is if you do something like this:
Resource myResource = resourceResolver.getResource(<path>);
Do you still need to close that resourceResolver to clean up system resources and if so how?
Solved! Go to Solution.
Hello,
No. In theory you only have to close resource resolver (Or admin session) if you are creating one using dependency injection or through service.
Yogesh
View solution in original post
Views
Like
Replies
Likes