Skip to content

Commit

Permalink
Merge pull request #1930 from lift/issue-1929
Browse files Browse the repository at this point in the history
Adding a null guard
  • Loading branch information
farmdawgnation authored Dec 14, 2017
2 parents 8e55bae + 2175135 commit 66d1a6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ object SessionMaster extends LiftActor with Loggable {
def isDead(sessionId: String): Boolean = killedSessions.containsKey(sessionId)

private val reaction: PartialFunction[Any, Unit] = {
case RemoveSession(sessionId) =>
case RemoveSession(sessionId) if sessionId != null =>

val ses = lockRead(nsessions)
(Box !! ses.get(sessionId)).foreach {
Expand Down

0 comments on commit 66d1a6d

Please sign in to comment.