GHOST/Wayland: support adding/removing global objects at runtime
Share logic for adding/removing global objects and freeing them on exit. Refactor object registration add/remove into an array of callbacks to localize logic into generic functions for each kind of interface. Also corrects own error where the primary clipboard manager wasn't being destroyed on exit.
This commit is contained in:
parent
5d5e0f1b0e
commit
97414fb484
Notes:
blender-bot
2023-04-04 07:45:26 +02:00
Referenced by commitc1768507a9
, Correct naming in97414fb484