Example #1
0
 @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;
   }
 }
Example #4
0
File: App.java Project: ndong211/bo
 public void releaseBMapManager() {
   if (mBMapInstanceCount.decrementAndGet() <= 0) {
     mBMapManager.destroy();
     App.debug(TAG, "releaseBMapManager");
     mBMapManager = null;
   }
   App.debug(TAG, "releaseBMapManager remain " + mBMapInstanceCount.get());
 }
Example #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();
  }
Example #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();
 }