Hey JUCE community,
when closing our Mac App. the app can not be closed correctly:
JUCE Message Thread (1) Queue : com.apple.main-thread (serial)
#0 0x000000010c714b61 in juce::LeakedObjectDetectorjuce::ValueTree::SharedObject::LeakCounter::~LeakCounter() at /Users/……/juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 16 instance(s) of class SharedObject JUCE Assertion failure in juce_LeakedObjectDetector.h:92 *** Leaked objects detected: 2 instance(s) of class DynamicObject JUCE Assertion failure in juce_LeakedObjectDetector.h:92
We had some similar errors and fixed them because we could find the class which does not leaked objects. But with these errors we can not find the class. Is there any tool to find the leaked objects? I tried https://github.com/jcredland/juce-toys/tree/master/jcf_advanced_leak_detector but the detector does not print anything, even when I continue the debugger after JUCE_LEAK_DETECTOR assert fires. I initialize “jcf::AdvancedLeakDetector advancedLeakDetector;” in multiple classes, but still no print.
Any other tools or procedures to find the leak?