layervault / LVDebounce

An Objective-C library for debouncing NSTimers
MIT License
14 stars 6 forks source link

Wouldn't this cause a memory leak? #4

Open can-i-program opened 9 years ago

can-i-program commented 9 years ago

Just curious, but would adding the target to the eventKey array, then adding to the timers dictionary cause the target to be retained forever?

Slessi commented 7 years ago

Experienced this issue myself in my app, it does cause the target to be retained forever