Skip to content

Commit

Permalink
[bugfix] RestXQ was not releasing file handles on Binary Files access…
Browse files Browse the repository at this point in the history
…ed in Resource Functions
  • Loading branch information
adamretter committed Nov 12, 2018
1 parent 494953d commit 1b89fd2
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -92,6 +92,7 @@ public CompiledXQuery getCompiledQuery(final DBBroker broker, final URI xqueryLo
@Override
public void returnCompiledQuery(final URI xqueryLocation, final CompiledXQuery xquery) {
//reset the query and context
xquery.getContext().runCleanupTasks();
xquery.reset();
xquery.getContext().reset();

Expand Down

0 comments on commit 1b89fd2

Please sign in to comment.