예제 #1
0
  @Override
  protected void onDestroy() {
    Log.d("ARComponentBase", "onDestroy()");
    sceneView
        .onDestroy(); // should call to destroy gl context which was intentionally left in onPause
    sceneView
        .getSceneGraph()
        .destroySceneGraph(); // necessary to make work again when started again
    // registration.releaseCamera();

    super.onDestroy();
    System.gc();
  }