CalvinKirs opened a new pull request, #34506: URL: https://github.com/apache/doris/pull/34506
## Proposed changes ### What happened Failure to explicitly release resources used by completed tasks can cause memory to remain in use until the task is cleared. ### Affected versions 2.1.0 + ### Changes add **closeOrReleaseResources** method make sure that resources are properly cleaned up when they are no longer needed. This improves code readability and maintains a consistent approach to resource management. ### test Testing on my test cluster -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
