I’m not sure if there is a bug in the library? I made a custom LookAndFeel_V4 class and set it to MainComponent, which has an AudioDeviceSelectorComponent. The program exits without error if I just run and exit right away. but if I opened up the comboboxes in the AudioDeviceSelectorComponent before I exit, the lookandfeel destructor gives an assertion error because there is more than one active weak references:
jassert (masterReference.getNumActiveWeakReferences() == 0
|| (masterReference.getNumActiveWeakReferences() == 1
&& this == &getDefaultLookAndFeel()));
the number of active weak references is equal to the number of comboboxes i opened.
Thanks in advance