code: public void complete() {
          Session session = getSession(false);
          if (session == null) {
              return;
          }
          sessionHandler.complete(session);
      }
docs: Called by the {@link CoreActivity}
  when a session is last accessed by a request.