Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a real deadlock

  • Loading branch information...
commit 65bd13474b1522a8d2afbd207e727ced96aecee0 1 parent a23b88b
David Pollak dpp authored fmpwizard committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 web/webkit/src/main/scala/net/liftweb/http/LiftSession.scala
6 web/webkit/src/main/scala/net/liftweb/http/LiftSession.scala
View
@@ -2201,15 +2201,17 @@ class LiftSession(private[http] val _contextPath: String, val uniqueId: String,
/**
* Remove a Comet actor
*/
- private[http] def removeCometActor(act: LiftCometActor): Unit = asyncSync.synchronized {
+ private[http] def removeCometActor(act: LiftCometActor): Unit = {
testStatefulFeature {
+ asyncSync.synchronized {
asyncById -= act.uniqueId
- messageCallback -= act.jsonCall.funcId
asyncComponents -= (act.theType -> act.name)
+ }
val toCmp = Full(act.uniqueId)
msgCallbackSync.synchronized {
+ messageCallback -= act.jsonCall.funcId
messageCallback.foreach {
case (k, f) =>
if (f.owner == toCmp) messageCallback -= k
Please sign in to comment.
Something went wrong with that request. Please try again.