We’re running Tracktion Engine as a Framework without GUI om macOS. When closing the app using the macOS Framework, we get a bunch of leaks, see below. We use RAII and no new
or delete
as far as I can see. When debugging it seems like the TimerThread
has something to do with the settings file Settings.xml!?
Is it normal to get these leaked objects at program shutdown?
If not, any hints?
Thanks!
DLSSynth::deinitialise
DLSSynth::deinitialise
DLSSynth::~DLSSynth
DLSSynth::~DLSSynth
DLSSynth::~DLSSynth
DLSSynth::~DLSSynth
DLSSynth::~DLSSynth
closing MIDI output: Tracktion MIDI Device
Cleaning up temp files..
*** Leaked objects detected: 1 instance(s) of class TimerThread
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class Thread
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class WaitableEvent
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class PropertiesFile
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class PropertySet
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 8 instance(s) of class AudioBuffer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class BufferList
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class OwnedArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class SelectableUpdateTimer
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 3 instance(s) of class AsyncUpdater
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 1 instance(s) of class MessageManager
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
JUCE Assertion failure in juce_Singleton.h:50
JUCE Assertion failure in juce_Singleton.h:50
*** Leaked objects detected: 1 instance(s) of class StringPairArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
*** Leaked objects detected: 2 instance(s) of class StringArray
JUCE Assertion failure in juce_LeakedObjectDetector.h:92