code: func (s *session) removeParty(p *party) error {
  	p.ctx.Infof("Removing party %v from session %v", p, s.id)
  
  	// Removes participant from in-memory map of party members.
  	s.removePartyMember(p)
  
  	s.writer.deleteWriter(string(p.id))
  
  	return nil
  }
docs: // removeParty removes the party from the in-memory map that holds all party
  // members.