Merge pull request #237 from the-simian/master

Add synchronized to notifyProblem
This commit is contained in:
Ivan Pusic 2017-02-16 02:46:37 +01:00 committed by GitHub
commit c2aacd1db9
2 changed files with 2 additions and 2 deletions

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...");
}

View File

@ -1,6 +1,6 @@
{
"name": "react-native-image-crop-picker",
"version": "0.12.3",
"version": "0.12.4",
"description": "Select single or multiple images, with croping option",
"main": "index.js",
"scripts": {