code: def release_udp_port(self, port, project):
          
  
          if port in self._used_udp_ports:
              self._used_udp_ports.remove(port)
              project.remove_udp_port(port)
              log.debug("UDP port {} has been released".format(port))
docs: Release a specific UDP port number
  
          :param port: UDP port number
          :param project: Project instance