I’m struggling to debug a leaked object reported on shutdown:
*** Leaked objects detected: 575 instance(s) of class ColourGradient
There is no way I have that many instances of ColourGradient in my app… and all those used are instantiated via e.g.:
ColourGradient backgroundGradient (Colours::black, 0, getHeight(), Colours::grey, getWidth(), 0, false); g.setGradientFill (backgroundGradient);
Any tricks people can recommend to debug this?