code: public void deleteOperaPrefs() {
      // Only delete if Opera is currently not running
      // Don't delete in no-launcher mode
      if (runner != null && !runner.isOperaRunning()) {
        // Will only delete profile if it's not a default main profile
        if (!profileUtils.deleteProfile()) {
          logger.severe("Could not delete profile");
        }
      } else {
        logger.warning("Cannot delete profile while Opera is running");
      }
    }
docs: Deletes the profile for the connected Opera instance.
  
  Should only be called after the given Opera instance has quit