You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eventmesh.apache.org by "Alonexc (via GitHub)" <gi...@apache.org> on 2023/05/25 08:00:28 UTC

[GitHub] [eventmesh] Alonexc opened a new issue, #4017: [Enhancement] Resources may not be released.

Alonexc opened a new issue, #4017:
URL: https://github.com/apache/eventmesh/issues/4017

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Enhancement Request
   
   ![image](https://github.com/apache/eventmesh/assets/91315508/e8cae0ce-cc80-40ed-94f5-aedab9d0bdbb)
   located at:
   eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/utils/HttpExchangeUtils.java
   analysis and explanation:
   resource of type java.io.InputStreamReader acquired to isr by call to new() at line 31 is not released after line 42. 
   
   
   ### Describe the solution you'd like
   
   use try-with-resources to manage resources.
   ![image](https://github.com/apache/eventmesh/assets/91315508/9bb5f0b9-865f-4905-88a1-785067eafb60)
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org


Re: [I] [Enhancement] Resources may not be released. (eventmesh)

Posted by "xwm1992 (via GitHub)" <gi...@apache.org>.
xwm1992 closed issue #4017: [Enhancement] Resources may not be released.
URL: https://github.com/apache/eventmesh/issues/4017


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org