altosdroid: Missing call to super.onDetach from TabMapOffline
authorKeith Packard <keithp@keithp.com>
Fri, 29 May 2015 16:42:58 +0000 (09:42 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 29 May 2015 16:42:58 +0000 (09:42 -0700)
Causes an exception when you shut down the application.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosdroid/src/org/altusmetrum/AltosDroid/TabMapOffline.java

index 90b4115..56e296d 100644 (file)
@@ -349,6 +349,7 @@ public class TabMapOffline extends AltosDroidTab implements AltosMapInterface {
 
        @Override
        public void onDetach() {
+               super.onDetach();
                mAltosDroid = null;
        }