Skip to content

Commit

Permalink
Fix #62
Browse files Browse the repository at this point in the history
- add shutdon-agents into all -main mehods

Signed-off-by: Jacek Grzebyta <jgrzebyta@users.noreply.github.com>
  • Loading branch information
jgrzebyta committed Mar 26, 2018
1 parent 1f5262e commit 30e2a0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/rdf4j/convert.clj
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@
model (read-file-rdf-model source input)
writer (make-stdout-rdf-writer output)]
(log/debug "Model count: %d" (count model))
(Rio/write model writer))))
(Rio/write model writer))
(shutdown-agents)))
3 changes: 2 additions & 1 deletion src/rdf4j/dump.clj
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,5 @@
(cond
(:h opts) (println banner)
(:V opts) (println "Version: " version)
:else (do-dump opts))))
:else (do-dump opts))
(shutdown-agents)))
3 changes: 2 additions & 1 deletion src/rdf4j/loader.clj
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,5 @@
(cond
(:h opts) (println banner)
(:V opts) (println "Version: " rdf4j.version/version)
:else (do-loading opts))))
:else (do-loading opts))
(shutdown-agents)))

0 comments on commit 30e2a0f

Please sign in to comment.