Synchronized to notifyProblem in ResultCollector

This commit is contained in:
Jesse Harlin 2017-02-15 19:43:22 -06:00 committed by GitHub
parent 7e2898940c
commit 20dadc178b

View File

@ -66,7 +66,7 @@ public class ResultCollector {
resultSent = true;
}
public void notifyProblem(String code, Throwable throwable) {
public synchronized void notifyProblem(String code, Throwable throwable) {
if (resultSent) {
Log.w("image-crop-picker", "Skipping result, already sent...");
}