function Subscription.Destroy(Z)if Z._state==stateTypes.PENDING then Z._state=stateTypes.CANCELLED end Z:_doCleanup()end

function Subscription:Destroy()
	if self._state == stateTypes.PENDING then
		self._state = stateTypes.CANCELLED
	end

	self:_doCleanup()
end
