finalize method

void finalize()

Implementation

void finalize() {
  if (kVerboseMode && toHydrate.isNotEmpty) {
    print("Clear ${toHydrate.length} nodes not hydrated ($toHydrate)");
  }
  for (final node in toHydrate) {
    node.parentNode!.removeChild(node);
  }
  toHydrate.clear();
}