close method

void close()

Implementation

void close() {
  if (this._device != nullptr) {
    _closeDevice(this._device);
  }
}