Permalink
Browse files

Thread group should be nil. Was a typo.

  • Loading branch information...
1 parent 0924a4b commit cbcc2e6160853ce7f4147130b7b4c6ee539650f9 @Raynes Raynes committed Sep 14, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 project.clj
  2. +2 −2 src/clojail/core.clj
View
@@ -1,4 +1,4 @@
-(defproject clojail "1.0.2"
+(defproject clojail "1.0.3"
:description "A sandboxing library."
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
View
@@ -29,9 +29,9 @@
or :s which correspond to TimeUnit/NANOSECONDS, MICROSECONDS, MILLISECONDS,
and SECONDS respectively."
([thunk ms]
- (thunk-timeout thunk ms :ms)) ; Default to milliseconds, because that's pretty common.
+ (thunk-timeout thunk ms :ms nil)) ; Default to milliseconds, because that's pretty common.
([thunk time unit]
- (thunk-timeout thunk time unit identity))
+ (thunk-timeout thunk time unit nil))
([thunk time unit tg]
(let [task (FutureTask. thunk)
thr (if tg (Thread. tg task) (Thread. task))]

0 comments on commit cbcc2e6

Please sign in to comment.