@Override
  protected void onPostExecute(Result result) {
    if (result != null) {
      boolean completeCalled = false;
      if (!isCancelled()) {
        CropImageView cropImageView = mCropImageViewReference.get();
        if (cropImageView != null) {
          completeCalled = true;
          cropImageView.onImageCroppingAsyncComplete(result);
        }
      }
      if (!completeCalled && result.bitmap != null) {
        // fast release of unused bitmap
        result.bitmap.recycle();
      }
    }
  }
Once complete, see if ImageView is still around and set bitmap.

@param result the result of bitmap cropping
core/src/main/java/com/theartofdev/edmodo/cropper/BitmapCroppingWorkerTask.java