SharedResourcePointer and LeakedObjectDetector

A global SharedResourcePointer lets go LeakedObjectDetector go nuts after the last plugin instance being removed. How is this intended to be used then?


Use it as a member of your AudioProcessor subclass.

Yes, a global instance of a SharedResourcePointer would make no sense at all! Its whole purpose is to avoid having global objects!

Great! Thanks, though its hopefully not the only purpose…