avito-tech / Paparazzo

Custom iOS camera and photo picker with editing capabilities
MIT License
779 stars 82 forks source link

Random camera freezes & lags #80

Closed bystritskiy closed 4 years ago

bystritskiy commented 5 years ago

Good day!

When I using the paparazzo controller found such a problem. When opening of the paparazzo camera, camera has terrible lags and freezes.

I can not find the pattern and thought, maybe I did something wrong, and there is a memory leak and loss of resources phone.

But, I discovered a strange pattern This bug only occurs when maxItemsCount = 1 (But sometimes everything is okay)

I checked example from the repository. I also got this bug

Recorded a little video for more understanding: https://www.youtube.com/watch?v=O7IhHAdLxDw

bystritskiy commented 5 years ago

I caught this bug in main Avito app :(

HiveHicks commented 4 years ago

@bystritskiy sorry it took so long. This should be fixed in 275ae2e999f78c4fb6dda240cdab0de4f67ebb35