GC3DFlipTransitionStyleSegue icon indicating copy to clipboard operation
GC3DFlipTransitionStyleSegue copied to clipboard

latest fix and memory problem

Open rschlacter opened this issue 11 years ago • 1 comments

hi,

thanks for the great transition animation.

was using it for a while, but updated it today with the mapkit fix of setting eaglcontext to nil.

this fix causes memory warning consistently after 3 flips and subsequent flips are very very slow (i.e. > 10secs), if at all. i also set the sourceView and destinationView to weak and deallocated the dest controller and nilled the textures in the dealloc, but i think there is some opengl context memory bug here.

secondly, removingthe fix, still causes memory warning, but not after 3 flips, but litttle later - so it is not just the latest fix, but there's some other memory issue, although i couldn't spot it.

as a reference, i tested with other transitions such as nav and modal, which work fine for dozens of flips without any memory warnings.

hope you can look into it - would be a shame not to use this nice transition.

thanks.

rschlacter avatar Feb 28 '13 21:02 rschlacter

the fix i was referring to which causes the problem https://github.com/GlennChiu/GC3DFlipTransitionStyleSegue/issues/5

rschlacter avatar Feb 28 '13 21:02 rschlacter