Skip to content
Permalink
Browse files
Fix bug where the output file wasn't being properly closed.
  • Loading branch information
ndw committed Aug 17, 2014
1 parent e5cf11e commit e9c16d6ae4901daa6530ed2e3be058f3daac9133
Showing 1 changed file with 2 additions and 0 deletions.
@@ -111,6 +111,8 @@ public void store(OutputStream content) throws IOException {
processor.format(source.read(),out,contentType);
} catch (SaxonApiException e) {
throw new XProcException(step.getNode(), "Failed to process FO document", e);
} finally {
out.close();
}
}
});

0 comments on commit e9c16d6

Please sign in to comment.