Permalink
Browse files

Revert "Make ajaxRequests a val in LiftSession."

This reverts commit 11c83fe.
  • Loading branch information...
fmpwizard committed Aug 31, 2012
1 parent 430da4a commit 1d9840e75e770808ee1cd884a0bf75fc8ee7f059
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/webkit/src/main/scala/net/liftweb/http/LiftSession.scala
@@ -571,7 +571,7 @@ class LiftSession(private[http] val _contextPath: String, val uniqueId: String,
* A list of AJAX requests that may or may not be pending for this
* session. There is up to one entry per RenderVersion.
*/
- private val ajaxRequests = scala.collection.mutable.Map[String,AjaxRequestInfo]()
+ private var ajaxRequests = scala.collection.mutable.Map[String,AjaxRequestInfo]()
private[http] def withAjaxRequests[T](fn: (scala.collection.mutable.Map[String, AjaxRequestInfo]) => T): T = {
ajaxRequests.synchronized { fn(ajaxRequests) }

0 comments on commit 1d9840e

Please sign in to comment.