dispose method

void dispose()

Lets go of what a verb took hold of for the rest of the drive's life — the semantics tree a {"label"} target turned on.

A live app keeps it for as long as it runs, and never needs this. A widget test does: it fails a body that ends with a handle open, so a drive on a TesterLane is disposed before its body returns.

Implementation

void dispose() {
  _semantics?.dispose();
  _semantics = null;
}