cubiq / SwipeView

Virtually infinite loop-able horizontal carousel
MIT License
698 stars 167 forks source link

phonegap application crash onorientation change (memory leak) on ipad(ios 7) #62

Open Rahulitsmca opened 11 years ago

Rahulitsmca commented 11 years ago

Hi guys, i have a problem with swipeview. i have two different carousels on portrait and landscape screens of ios application created with phonegap.
I buffered all images at once on both carousels and toggle them by media queries. problem is when i switch orientation my application get crashed and in error report is caused due to memory leak. i also remove resize() method and orientation change event for not interrupt anything on onorientation change but it still crashing application.

https://github.com/Rahulitsmca/SwipeView/blob/master/src/swipeview.js

thanks in advance