I am aware this was done in this commit Timer: Replace DeletedAtShutdown with SharedResourcePointer · juce-framework/JUCE@47be26d · GitHub
and also that there have been some follow-up commits to fix issues that the commit above introduced.
Now I’m updating a plug-in from a JUCE version prior to that commit, to a more recent one (the latest commit in the JUCE 7 branch) where all those commits regarding Timer are present.
I have a Timer in a singleton that has static storage, and that is causing me problems after the update. I am not surprised, I have read several topics about that and I am working on it.
But my question here is: what problem was being solved in the original commit, by changing TimerThread from being a DeletedAtShutdown to being managed by a SharedResourcePointer?
I’m asking because, while I fix the issues I’m experiencing after the update, I want to avoid inadvertently falling in the same problem that was being solved with that change to begin with