function Signal.DisconnectAll(f)local C=f._handlerListHead while C do C.Connected=false C=C._next end f._handlerListHead=false end

function Signal:DisconnectAll()
	local item = self._handlerListHead
	while item do
		item.Connected = false
		item = item._next
	end
	self._handlerListHead = false
end
