dispose method

void dispose()

Implementation

void dispose() {
  DocumentRuntime.instance.unregisterDocument(this);
}