public void onDestroy(){
  mListener=null;
  if (mIsInternalExecutor) {
    mAsyncExecutor.shutdown();
  }
}

public void onDestroy ( ) { mListener = null ; if ( mIsInternalExecutor ) { mAsyncExecutor . shutdown ( ) ; } }
terminates event transmission and all pending requests .
