dispose method

void dispose()

Implementation

void dispose() {
  if (_engine.onPtyResize == _enginePtyHook) {
    _engine.onPtyResize = null;
  }
}