cleanup method

void cleanup()

Implementation

void cleanup() {
  for (final context in _contexts.values) {
    context.cleanup();
  }
  _contexts.clear();
  _contextStack.clear();
}