I'm developing an opengl ES 2.0 live wallpaper. Normaly, when an engine is destroyed, its methods onSurfaceDestroyed
and onDestroy
were called. I notice that when i click on 'Set wallpaper' button, onSurfaceDestroyed
and onDestroy are not called.
This methods are usefull to destroy opengl ES contexts. Every time wallpaper switch between normal and preview mode the wallpaper crash due to the resource leak. Is anybody had the same problem?