From b6616f0aa31e05a4bc05896022def63b70a240ec Mon Sep 17 00:00:00 2001 From: Leith Bade Date: Mon, 10 Nov 2014 00:04:20 +1100 Subject: [PATCH] Remove old comments --- android/cpp/NativeMapView.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/android/cpp/NativeMapView.cpp b/android/cpp/NativeMapView.cpp index 40bf35a38..d46ea913c 100644 --- a/android/cpp/NativeMapView.cpp +++ b/android/cpp/NativeMapView.cpp @@ -243,12 +243,6 @@ void NativeMapView::terminateContext() { map->terminate(); - // TODO: there is a bug when you double tap home to go app switcher, as map is black if you immediately switch to the map again - // TODO: this is in the onPause/onResume path - // TODO: the bug causes an GL_INVALID_VALUE with glDelteProgram (I think due to context being deleted first) - // TODO: we need to free resources before we terminate - // TODO: but cause terminate and stop is async they try to do stuff with no context and crash! - if (display != EGL_NO_DISPLAY) { if (!eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) {