mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2025-02-23 10:58:16 +00:00
Merge pull request #237 from the-simian/master
Add synchronized to notifyProblem
This commit is contained in:
commit
c2aacd1db9
@ -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...");
|
||||
}
|
||||
|
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user