/// <summary> /// Will remove the token as long as the execution is running. Otherwise it will keep /// the token for the snapshot /// </summary> public virtual void Remove(IToken token) { if (_tokens.Remove(token)) { TokenRemoved?.Invoke(this, token); } }