ThumbnailerManager: interrupt the thread when calling stop()
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.
Showing with 9 additions and 4 deletions