Commit e78d7d4c authored by Sébastien Toque's avatar Sébastien Toque

do not crash when stopping thumbnailer if it wasn't started

parent a6e0c995
......@@ -81,7 +81,8 @@ public class ThumbnailerManager implements Runnable {
public void stop() {
isStopping = true;
mThread.interrupt();
if (mThread != null)
mThread.interrupt();
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment