releaseEngine method

Future<void> releaseEngine()

Implementation

Future<void> releaseEngine() async {
  if (_engineHasInit) {
    _engineHasInit = false;
    try {
      await _engine.release();
      // ignore: empty_catches
    } catch (e) {
      log("release failed");
    }
  }
}