Permalink
Browse files

fixed S.respondAsync

  • Loading branch information...
1 parent ccd3fbc commit b5c49a609ea434a3e6bacd74c4f2f63068b03094 @fmpwizard fmpwizard committed Jan 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/webkit/src/main/scala/net/liftweb/http/S.scala
@@ -3016,7 +3016,7 @@ trait S extends HasParams with Loggable {
*
*/
def respondAsync(f: => Box[LiftResponse]): () => Box[LiftResponse] = {
- RestContinuation.async {reply => f}
+ RestContinuation.async {reply => reply(f.openOr(EmptyResponse))}
}

0 comments on commit b5c49a6

Please sign in to comment.