@Override public void onDestroy() { super.onDestroy(); android.os.Process.killProcess(android.os.Process.myPid()); } }
@Override protected void onDestroy() { super.onDestroy(); cursorMain.close(); } }
@Override protected void onDestroy() { super.onDestroy(); cursorMain.close(); } }
@Override protected void onDestroy() { super.onDestroy(); main.stop(); }
@Override protected void onDestroy() { super.onDestroy(); main = null; if (vuforiaState != VUFORIA_INACTIVE) { Log.d(TAG, "onDestroy"); try { vuforiaAppSession.stopAR(); vuforiaState = VUFORIA_INACTIVE; } catch (SampleApplicationException e) { Log.e(TAG, e.getString()); } } }
@Override protected void onDestroy() { try { if (WidgetLib.isInitialized()) { WidgetLib.destroy(); } } finally { // make sure super is called last always, it clears internal gvrf // references and things may crash super.onDestroy(); } } }