Skip to content

fix: prevent crash when finalmarkdown native lib is unavailable#91

Open
sanasol wants to merge 1 commit intostoatchat:devfrom
sanasol:fix/native-markdown-crash
Open

fix: prevent crash when finalmarkdown native lib is unavailable#91
sanasol wants to merge 1 commit intostoatchat:devfrom
sanasol:fix/native-markdown-crash

Conversation

@sanasol
Copy link

@sanasol sanasol commented Mar 4, 2026

Wraps finalmarkdown System.loadLibrary and FinalMarkdown.init in try-catch for UnsatisfiedLinkError. The app crashes on startup on architectures where the native library is not bundled.

Wrap finalmarkdown System.loadLibrary in try-catch for
UnsatisfiedLinkError. The app crashes on startup on architectures
where the native library is not bundled.

Signed-off-by: sanasol <mail@sanasol.ws>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant