Thanks Quinn,
Currently the issue doesn't seem to reproduce on latest macOS (15.5), it seems to be specific to 15.4.1.
However, even though it seems to be fixed in newer builds, from what I understand, for future-proofing it is generally not recommended to use dlclose() on libraries like libswiftDemangle.dylib even though I had manually dlopen()'ed previously, and keep such libraries loaded until the application exits?
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: