3 ms·
Apple has also considered making dlclose() a no-op on non-macOS (and the presentation is 3 years old so it may have happened by now) https://news.ycombinator.c
by mrpippy 7y ago
Apple has also considered making dlclose() a no-op on non-macOS (and the presentation is 3 years old so it may have happened by now)
https://news.ycombinator.com/item?id=20229723 https://news.ycombinator.com/item?id=20229723
- saagarjha 7y agoNo, dlclose still unloads the image if the reference count reaches 0: https://github.com/apple-open-source-mirror/dyld/blob/f033f5564c85c5cbfd24cf25e702e4bb0c2c39b4/dyld3/APIs.cpp#L795 https://github.com/apple-open-source-mirror/dyld/blob/f033f5...