Skip to content

Commit

Permalink
Add onComplete when analyze done
Browse files Browse the repository at this point in the history
  • Loading branch information
QuadFlask committed Jan 31, 2017
1 parent 1e3c340 commit ff676e0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static Observable<CropResult> analyzeWithObservable(final Options options
@Override
public void call(Subscriber<? super CropResult> subscriber) {
subscriber.onNext(SmartCrop.analyze(options, input));
subscriber.onCompleted();
}
});
}
Expand Down

0 comments on commit ff676e0

Please sign in to comment.