Add attribute null check

pull/86/head
Louis Royer 4 years ago
parent f7b1216b25
commit a5b1abc9a8

@ -124,7 +124,9 @@ public abstract class FileWatcher implements Runnable {
*/
public void setStop() {
stop = true;
thread.interrupt();
if (thread != null) {
thread.interrupt();
}
}
/** Init sha512 map.

Loading…
Cancel
Save