              raise FaceswapError("Not all locations in the input list exist")
  
      def _set_thread(self):
          """ Set the background thread for the load and save iterators and launch it. """
          logger.debug("Setting thread")
          if self._thread is not None and self._thread.is_alive():
              logger.debug("Thread pre-exists and is alive: %s", self._thread)
              return
          self._thread = MultiThread(self._process,
                                     self._queue,
 
</s> remove             logger.debug("Thread pre-exists and is alive: %s", self._thread)
 </s> add             logger.trace("Thread pre-exists and is alive: %s",  # type:ignore[attr-defined]
                         self._thread) </s> remove         """ Join the running threads, catching and re-raising any errors """
 </s> add         """ Join the running threads, catching and re-raising any errors

        Clear the list of threads for class instance re-use
        """ </s> remove             del thread
 </s> add 
        logger.trace("Setting thread")  # type:ignore[attr-defined]
              raise FaceswapError("Not all locations in the input list exist")
  
      def _set_thread(self):
          """ Set the background thread for the load and save iterators and launch it. """
        logger.trace("Setting thread")  # type:ignore[attr-defined]
          if self._thread is not None and self._thread.is_alive():
              logger.debug("Thread pre-exists and is alive: %s", self._thread)
              return
          self._thread = MultiThread(self._process,
                                     self._queue,
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Patch extract memory leak in batch mode 
lib/image.py