@Override
 protected void onDestroy() {
   if (mBMapManager != null) {
     mBMapManager.destroy();
   }
   super.onDestroy();
 }
 @Override
 protected void onDestroy() {
   if (mBMapMan != null) {
     mBMapMan.destroy();
     mBMapMan = null;
   }
   super.onDestroy();
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (bMapManager != null) {
     bMapManager.destroy();
     bMapManager = null;
   }
 }
Beispiel #4
0
 public void releaseBMapManager() {
   if (mBMapInstanceCount.decrementAndGet() <= 0) {
     mBMapManager.destroy();
     App.debug(TAG, "releaseBMapManager");
     mBMapManager = null;
   }
   App.debug(TAG, "releaseBMapManager remain " + mBMapInstanceCount.get());
 }
Beispiel #5
0
  @Override
  protected void onDestroy() {
    if (mLocClient != null) mLocClient.stop();
    mMapView.destroy();

    // Gl app = (Gl)this.getApplication();
    if (mBMapManager != null) {
      mBMapManager.destroy();
      mBMapManager = null;
    }
    super.onDestroy();
  }
Beispiel #6
0
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   mMapView.destroy();
   if (mMapManager != null) {
     mMapManager.destroy();
     mMapManager = null;
   }
   if (mLocationClient.isStarted()) {
     mLocationClient.stop();
   }
   super.onDestroy();
 }