class Build::Files::Monitor::Polling

def purge(handle)

def purge(handle)
	@logger.debug{"Purge handle: #{handle}"}
	
	handle.directories.each do |directory|
		directory = directory.to_s
		
		@directories[directory].delete(handle)
		
		# Remove the entire record if there are no handles:
		if @directories[directory].size == 0
			@directories.delete(directory)
			
			@updated = true
		end
	end
end