Unfortunately, we will most likely try to find a runtime solution, since it is the most realistic variant in the short term.
We already seem to have dealt with the problem of an observer not being removed in the dealloc by interjecting an item which actually performs the observation and removes it on dealloc.
I planned to explicitly make it affect MacOS 15 and above too, so the behaviour would be the same. I'll bring this topic up internally.
As suggested, the improvement request: FB20155335
Topic:
App & System Services
SubTopic:
General
Tags: