code: public static void gracefullyDisposeOf(final Disposable disposable) {
          try {
              if (disposable != null) {
                  disposable.dispose();
              }
          } catch (final Throwable exception) {
              Gdx.app.error("WARN", "Unable to dispose: " + disposable + ". Ignored.", exception);
          }
      }
docs: Performs null check and disposes of an asset. Ignores exceptions.
  
  @param disposable will be disposed of (if it exists).