[ 
https://issues.apache.org/jira/browse/FLINK-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248150#comment-15248150
 ] 

ASF GitHub Bot commented on FLINK-3781:
---------------------------------------

Github user gaoyike commented on the pull request:

    https://github.com/apache/flink/pull/1908#issuecomment-212011148
  
    Updated!
    
    Thanks uce!


> BlobClient may be left unclosed in BlobCache#deleteGlobal()
> -----------------------------------------------------------
>
>                 Key: FLINK-3781
>                 URL: https://issues.apache.org/jira/browse/FLINK-3781
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>   public void deleteGlobal(BlobKey key) throws IOException {
>     delete(key);
>     BlobClient bc = createClient();
>     bc.delete(key);
>     bc.close();
> {code}
> If delete() throws IOException, BlobClient would be left inclosed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to