dispose method

dynamic dispose()

Implementation

dispose() {
  this.samplerCache.clear();
}