[TIMOB-3209] iOS: Rapid Popover show/hide causes crash
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2011-11-02T14:24:02.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | defect, ios, reported-1.6.0 |
| Reporter | Rick Blalock |
| Assignee | Reggie Seagraves |
| Created | 2011-04-15T03:39:32.000+0000 |
| Updated | 2017-03-23T18:27:59.000+0000 |
Description
Rapidly hiding and showing a popover raises the following:
*** Terminating app due to uncaught exception 'NSGenericException', reason: '-[UIPopoverController dealloc] reached while popover is still visible.'
For my case, I just reuse the same popup and programmatically set the view property to the new element.
I'm having this issue when firing the popover from a slider (showing the popover on slider's touchstart, hiding on slider's touchend). A quick slide causes the crash described.
Duplicates [TIMOB-5285] (or, to be more precise, [TIMOB-5285] duplicated this ticket). [TIMOB-5285] has been fixed.
Closing ticket as duplicate with reference to the linked issues above.