Source: lib/util/i_releasable.js

/*! @license
 * Shaka Player
 * 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() {}
};