GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/5349

    [FLINK-8146][py] Properly close ZipInputStream

    ## What is the purpose of the change
    
    This PR fixes a resource-leak caused by an unclosed `ZipInputStream`. We 
now use a try-with-resource block to ensure that the stream is closed.
    
    ## Verifying this change
    
    This change is a trivial rework / code cleanup without any test coverage.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 8146

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/5349.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 #5349
    
----
commit 7298ed20be64792bdc9ba4205ad47b2f1be1289a
Author: zentol <chesnay@...>
Date:   2018-01-24T10:56:25Z

    [FLINK-8146][py] Properly close ZipInputStream

----


---

Reply via email to