Class Session.Closer

  • Enclosing class:
    Session

    class Session.Closer
    extends Object
    This class synchronizes the close. Close can't be synchronized with 'this' because the Session must be accessed concurrently during its closure. So we need a second lock.