GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/22210
[SPARK-25218][Core]Fix potential resource leaks in TransportServer and SocketAuthHelper ## What changes were proposed in this pull request? Make sure TransportServer and SocketAuthHelper close the resources for all types of errors. ## How was this patch tested? Jenkins You can merge this pull request into a Git repository by running: $ git pull https://github.com/zsxwing/spark SPARK-25218 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22210.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22210 ---- commit 6f2248d45716332ac78e44b1314011806f59deb8 Author: Shixiong Zhu <zsxwing@...> Date: 2018-08-23T20:10:03Z Fix potential resource leaks ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org