Skip to content

Commit 364b912

Browse files
committedJun 2, 2015
0.2.1 -- don't run create/destroy in futures
1 parent ee88ae2 commit 364b912

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject tailrecursion/clojure-adapter-servlet "0.2.0"
1+
(defproject tailrecursion/clojure-adapter-servlet "0.2.1"
22
:description "A shim to create a clojure-friendly servlet container interface."
33
:url "https://github.com/tailrecursion/clojure-adapter-servlet"
44
:license {:name "Eclipse Public License"

‎src/tailrecursion/clojure_adapter_servlet/impl.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@
147147

148148
(defn context-initialized [^ServletContextEvent sce]
149149
(when-let [fn-name (get-context-param sce "context-create")]
150-
(future ((get-servlet-fn fn-name)))))
150+
((get-servlet-fn fn-name))))
151151

152152
(defn context-destroyed [^ServletContextEvent sce]
153153
(when-let [fn-name (get-context-param sce "context-destroy")]
154-
(future ((get-servlet-fn fn-name)))))
154+
((get-servlet-fn fn-name))))

0 commit comments

Comments
 (0)