alexiscreuzot / SwiftyGif

High performance GIF engine
MIT License
2.04k stars 212 forks source link

Memory leak associated with stopAnimatingGif() #168

Closed JK0369 closed 1 year ago

JK0369 commented 2 years ago

If I try to dealloc the view while calling stopAnimatingGif(), a memory leak occurs.

There is a phenomenon in which memory is deallocated only when startAnimatingGif() is executed.

What is the problem? Could it be related to the isPlaying property used internally?