Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

fix: use a lock for extracting text from pdf via mupdf to avoid cgo panic (issue #135) #136

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

iwilltry42
Copy link
Collaborator

@iwilltry42 iwilltry42 commented Oct 9, 2024

ref #135

Recovering from the CGO panic is unfortunately not possible. But the locking doesn't introduce any significant latency, so we're good to go.

@iwilltry42 iwilltry42 changed the title fix: use a lock for extracting text from pdf via mupdf to avoid cgo panic fix: use a lock for extracting text from pdf via mupdf to avoid cgo panic (issue #135) Oct 9, 2024
@iwilltry42 iwilltry42 merged commit 678f38a into main Oct 9, 2024
1 check passed
@iwilltry42 iwilltry42 deleted the fix/mupdf-panic branch October 9, 2024 20:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant