close method

void close()

Release the engine. Safe to call more than once.

Implementation

void close() {
  if (_handle != nullptr) {
    _bindings.freeClient(_handle);
    _handle = nullptr;
  }
}