@Override
  protected void onDestroy() {
    super.onDestroy();
    if (remotePlugin == null) {
      return;
    }
    PluginActivityCallback caller = remotePlugin.getControl();
    if (caller != null) {

      {
        try {
          caller.callOnDestroy();
          LCallbackManager.callAllOnDestroy();
        } catch (Exception e) {
          processError(e);
        }
      }
    }
  }