/** @license
 * Copyright 2016 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

goog.provide('shaka.util.IReleasable');


/**
 * An interface to standardize how objects release internal references
 * synchronously. If an object needs to asynchronously release references, then
 * it should use 'shaka.util.IDestroyable'.
 *
 * @interface
 * @export
 */
shaka.util.IReleasable = class {
  /**
   * Request that this object release all internal references.
   *
   * @exportInterface
   */
  release() {}
};

/** @license
 * Copyright 2016 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

goog.provide('shaka.util.IReleasable');


/**
 * An interface to standardize how objects release internal references
 * synchronously. If an object needs to asynchronously release references, then
 * it should use 'shaka.util.IDestroyable'.
 *
 * @interface
 * @exportInterface
 */
shaka.util.IReleasable = class {
  /**
   * Request that this object release all internal references.
   *
   * @exportInterface
   */
  release() {}
};

Fix export annotation on abstract IReleasable
Fix export annotation on abstract IReleasable

It does not make sense to truly export an abstract interface.  This
should always have used the exportInterface annotation.

Change-Id: If170b41b89728dd549669cee0c606de492b79ad9
