dpol1 opened a new pull request, #1930:
URL: https://github.com/apache/stormcrawler/pull/1930

   Several resources were not properly closed, leading to potential leaks in  
   long-running crawl topologies.  
     
   - `RegexURLFilterBase`: use try-with-resources for the classpath  
     `InputStream`; add a null check when the resource file is not found  
   - `DebugParseFilter`: add `cleanup()` override to close the output stream;  
     add a proper SLF4J logger (replacing `e.printStackTrace()`)  
   - `HttpProtocol` (Playwright): wrap the page navigation block in a  
     try/finally to ensure tracing is always stopped even when an exception  
     is thrown, preventing a tracing resource leak


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to