-- Disconnect all handlers. Since we use a linked list it suffices to clear the
-- reference to the head handler.

function Signal:DisconnectAll()
	self._handlerListHead = false
end

function Signal:Destroy()
	self:DisconnectAll()
	table.clear(self)
end
