code: public void destroyAllSessions ()
    {
      // destroy all session scopes (use a copy, because we're invalidating
      // the sessions internally!)
      for (final ISessionScope aSessionScope : getAllSessionScopes ())
      {
        // Unfortunately we need a special handling here
        if (aSessionScope.selfDestruct ().isContinue ())
        {
          // Remove from map
          onScopeEnd (aSessionScope);
        }
        // Else the destruction was already started!
      }
  
      // Sanity check in case something went wrong
      _checkIfAnySessionsExist ();
    }
docs: Destroy all known session scopes. After this method it is ensured that the
  internal session map is empty.