Even easier to reproduce the leak: just enable the strict mode on line 32 
in com.example.android.apis.graphics.GLSurfaceViewActivity from the API 
Samples

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        StrictMode.setVmPolicy(new 
StrictMode.VmPolicy.Builder().detectActivityLeaks().penaltyLog().build());
        // Create our Preview view and set it as the content of our Activity
        mGLSurfaceView = new GLSurfaceView(this);
        mGLSurfaceView.setRenderer(new CubeRenderer(false));
        setContentView(mGLSurfaceView);
    }

Someone else has seen this leak before:
http://stackoverflow.com/questions/9051080/android-glsurfaceview-cause-leak

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to