Skip to content
  • Ludovic Fauvet's avatar
    ThumbnailerManager: interrupt the thread when calling stop() · 05acaeaa
    Ludovic Fauvet authored
    This fixes the issue where the ThumbnailerManager was generating only a
    single thumbnail before stopping unexpectedly. Without a explicit call
    to stop().
    The reason of the issue was that the thread was sleeping (waiting for
    new jobs) and stopped while being in that state. Later, when a new job
    was added the thread woke up and stopped after the first thumbnail as
    requested previously.
    05acaeaa