close method

void close()

Implementation

void close() {
  if (!available) {
    return;
  }

  model!.ailia.ailiaDestroyDetector(ppDetector!.value);
  malloc.free(ppDetector!);

  model!.close();
  available = false;
}