dispose method

void dispose()

Destroys and releases the memory allocated for the library when is not longer used

Implementation

void dispose() {
  // closePage();
  // closeDocument();
  pdfium.FPDF_DestroyLibrary();
  allocator.free(config);
}