dispose method
Disposes of renderer resources.
Implementation
@override
void dispose() {
// Buffered output is transient; retaining it would allow a later flush
// after reinitialization to emit a frame from the previous lifecycle.
_pendingView = null;
_dirty = false;
inner.dispose();
}