dispose method

void dispose()

Implementation

void dispose() {
  p1.dispose();
  p2.dispose();
}