bblanchon / pdfium-binaries

📰 Binary distribution of PDFium
789 stars 166 forks source link

Disable `allocator_shim` for macOS build #138

Closed HeavenVolkoff closed 6 months ago

HeavenVolkoff commented 6 months 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