Skip to content

Crash when double tap done button #416

@Amefuri

Description

@Amefuri

Describe the bug
Application crash when we done cropping and repeat tap done button before library done the cropping process.

To Reproduce
Steps to reproduce the behavior:

  1. Show TOCropViewController
  2. Process edit picture / cropping
  3. Quickly repeat tap done button in the bottom right
  4. See error:
cropViewController:didCropToImage
CropViewController was compiled with optimization - stepping may behave oddly; variables may not be available.

https://i.ibb.co/nCxkVvJ/Screen-Shot-2563-06-08-at-14-02-15.png

Expected behavior
Library done the cropping process and return the cropped image.

iOS Device:

  • Device: iPhone7Plus
  • OS: iOS13.3.1
  • Library Version: 2.5.2

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions