bblanchon / pdfium-binaries

📰 Binary distribution of PDFium
904 stars 194 forks source link

Disable `allocator_shim` for macOS build #138

Closed HeavenVolkoff closed 1 year ago

HeavenVolkoff commented 1 year ago

When libpdfium is loaded with dlopen on macOS this exposes a bug in the allocator_shim that causes it to trip over a code assertion when trying to free memory, as a work-around this PR disables the allocator_shim for masOS builds to avoid this behavior while the bug is not resolved upstream: https://crbug.com/1271139

Closes: #137