destroyEngine method

void destroyEngine()

Implementation

void destroyEngine() {
  if (_engineFFIPointer != nullptr) {
    _engineSDK.Dart_DestroyRoomEngine(_engineFFIPointer);
    _engineFFIPointer = nullptr;
  }
}