destroyAll method

void destroyAll()

Implementation

void destroyAll() {
  commitUpdates();
  getObjects().forEach(destroy);
}