@Override public void onDestroy() { super.onDestroy(); Utility.cancelTasks(dbTask); GlobalContext.getInstance().unRegisterForAccountChangeListener(this); }
@Override protected void onDestroy() { super.onDestroy(); Utility.cancelTasks(loginTask); }
@Override public void onDestroy() { super.onDestroy(); Utility.cancelTasks(dbTask); }