Example #1
0
  @Override
  public void onDestroy() {
    FLog.i(TAG, "onDestroy");
    NetworkManager.getInstance().stop();
    this.unregisterReceiver(mReceiver);
    unregisterReceiver(nlservicereciver);

    mEngine.stop();

    closeSwClient();
    mWSManager = null;
    StateManager.getInstance().clearState();
  }