destroy method

void destroy()

Implementation

void destroy() {
  list.forEach((key, texture) {
    texture.destroy();
  });
  list.clear();
  _memRWops.close();
  _memRWops.callocFree();
  _mem.callocFree();
}