function Signal.Destroy(l)if l._bindableEvent then l._bindableEvent:Destroy()l._bindableEvent=nil end setmetatable(l,nil)end return Signal

function Signal:Destroy()
	if self._bindableEvent then
		-- This should disconnect all events, but in-flight events should still be
		-- executed.

		self._bindableEvent:Destroy()
		self._bindableEvent = nil
	end

	-- Do not remove the argmap. It will be cleaned up by the cleanup connection.

	setmetatable(self, nil)
end

return Signal
