Creating a completely blank plug-in project on ProJucer, I hit several memory leak assertions and finally an assertion in Singleton upon closing the DAW.
This does not happen when closing the editor window and then the host, only when the host is closed with the plug-in window open.
*** 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 AsyncUpdater
JUCE Assertion failure in juce_LeakedObjectDetector.h:92
JUCE Assertion failure in juce_Singleton.h:50
Edit: the full SingletonHolder class name that asserts is:
Interesting… I actually don’t have any other plug-ins, I started a fresh project and simply opened the blank plug-in, then closed the host with the plug-in window still open.
Btw, I’m on an M1 Mac with JUCE v 7.0.10 on the master branch
I think the key thing is this only occcurs when you leave the plugin window open on quitting Reaper, if you close the plugins UI first, there is no leak.
Any chance we could get an official JUCE 7 branch where this kind of fixes could be cherry picked ?
Or will there never be any changes/fixes to JUCE 7 anymore?