OSDN Git Service

Fix memory Leak due to SurfaceView not being detached.
authorthigobr <thigobr@gmail.com>
Fri, 22 Oct 2010 20:13:26 +0000 (18:13 -0200)
committerthigobr <thigobr@gmail.com>
Wed, 24 Nov 2010 13:11:26 +0000 (11:11 -0200)
Change-Id: If3f3577eaaa33e4043e8a5e6417f663bcaaf6fbb

src/com/android/launcher2/AllApps3D.java

index b8aa8ec..376b1fe 100644 (file)
@@ -213,6 +213,7 @@ public class AllApps3D extends RSSurfaceView
             destroyRenderScript();
             sRS = null;
             sRollo = null;
+            super.onDetachedFromWindow();
         }
     }