dispose

public void dispose()

Cleans up the sessionConnector, loyalty connector and

Consumers of this class will want to call this method in their Activity's onDestroy method:

  public class CloverLoyaltyCustomActivity extends Activity {
      private CloverCFPLoyaltyHelper cloverCFPLoyaltyHelper;
      ...
      protected void onDestroy() {
          // Tell the helper to clean up everything
          cloverCFPLoyaltyHelper.dispose();
          super.onDestroy();
      }
      ...
  }

Since

4.1.0