This repository has been archived by the owner. It is now read-only.
Browse files

Block on workers in -main.

  • Loading branch information...
technomancy committed May 18, 2012
1 parent 210297e commit 04d7629933b5c0903bae86fd9d470e1d665e2bc2
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/die/roboter.clj
@@ -198,4 +198,5 @@
(println "Starting" (:workers opts) "workers.")
(when (:require opts)
(require (symbol (:require opts))))
- (dotimes [n (Integer. (:workers opts))] (add-worker opts))))
+ (dotimes [n (Integer. (:workers opts))] (add-worker opts))
+ (doseq [w @workers] @w)))

0 comments on commit 04d7629

Please sign in to comment.