TimOliver / TOCropViewController

A view controller for iOS that allows users to crop portions of UIImage objects
http://www.timoliver.com.au/2015/06/21/tocropviewcontroller-an-open-source-image-cropper-for-ios/
MIT License
4.74k stars 955 forks source link

Quickly click any tool bar buttons(while processing large image) and the blocks will invoke many times. #454

Closed swulog closed 3 years ago

swulog commented 3 years ago

Describe the bug After edited a large(more than 5M) image. I quickly clicked the done button more than ONE times. And I found that delegate method [cropViewController:didCropToImage:withRect:angle] have been called many times.

To Reproduce See the description

Expected behavior Fix it.

Screenshots None

iOS Device:

Additional context None

TimOliver commented 3 years ago

Sorry @swulog. There's not enough information here to know what is going on. Please go back and fill out the issue template to explain exactly what the problem is and how it should be fixed.

Thanks!

TimOliver commented 3 years ago

Closing this off due to inactivity. If this issue is still causing you problems, please open a new issue and fill out the issue template with as much info as you can. :)

Thanks!