You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2019/01/11 20:24:26 UTC

[jena] 01/02: JENA-1657: Close after ASK execution

This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jena.git

commit 78d6e2da5a09af3d1e90b8d210ecebfc75816177
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Fri Jan 11 20:23:52 2019 +0000

    JENA-1657: Close after ASK execution
---
 .../main/java/org/apache/jena/sparql/engine/http/QueryEngineHTTP.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/QueryEngineHTTP.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/QueryEngineHTTP.java
index 9d7068f..77b358f 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/QueryEngineHTTP.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/QueryEngineHTTP.java
@@ -536,6 +536,7 @@ public class QueryEngineHTTP implements QueryExecution {
             log.warn("Failed to close connection", e);
             return false ;
         }
+        finally { this.close(); }
     }
 
     @Override