mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Crashing on iOS and Android after usage over 1000 times #739
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @taublast on GitHub (May 25, 2025).
EDIT: in context of the final repro:
I have a net9.0-android net9.0-ios MAUI app that uses Markding for chat list bubbles labels. This works fine until cells call
Parsemethod over 1000 times when scrolling recycled cells.Removing those lines from Markdig fork made crashes to disappear while being able to call
Parsewhen Markdig project is referenced in solution and compiled for Debug:This fixed crashing when Markdig fork is refereced as project. When it's compiled for Release crashes come back again.
Those native crashes obviously can't be catched in debugger becaus they happen inside .NET optimized binaries.
Crashes:
Android:
iOS :
Thank you for this awesome lib, using it for https://github.com/taublast/DrawnUi