Skip to content

Commit

Permalink
Merge pull request #63 from jgrzebyta/issues/#62-agents
Browse files Browse the repository at this point in the history
Fix #62: shutdown agents after all -main methods
  • Loading branch information
jgrzebyta authored Mar 26, 2018
2 parents 1f5262e + 30e2a0f commit 59cb8da
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 59cb8da

Please sign in to comment.