Overview
Artifact ID: | dcd3997439e5f389302900fd551ff31b55cdad5873bb17828a2a5db034b60fbc |
---|---|
Ticket: | b41fb588c5feaaa974417dbc0732c86e772e105a
Call `+[unload]` when a shared library with classes gets unloaded |
User & Date: | js on 2024-01-06 10:58:15 |
Changes
- icomment:
When a shared library gets unloaded, call `+[unload]` on all classes contained in that shared library. This will need a compiler change to not only create a constructor that calls into `__objc_exec_class` as is currently done, but also a destructor that calls into something like `__objc_unexec_class` (name TBD). It's unclear if this is possible at all with the Apple runtime. It might be that this can only be made possible with the Apple runtime when using `OFPlugin`.
- login: "js"
- milestone changed to: "none"
- mimetype: "text/x-markdown"
- priority changed to: "Medium"
- private_contact changed to: "c8a37120da0f2517297a682b10203a3a5eef21c2"
- severity changed to: "Minor"
- status changed to: "Open"
- title changed to:
Call +[unload] when a shared library with classes gets unloaded
- type changed to: "Enhancement"