Closed leighmarble closed 3 years ago
@leighmarble Hey, thanks for officially being the first person to use the module that I know of :) And for the report and solution!
Ah right, the look and feel is being destructed before the inspector itself. The overlay and panel should be deleted before the LNF, so I thiiiink we just need that first line. Fix incoming!
Trying this in a standalone app, the assert in the juce::LookAndFeel class gets hit when I quit it.
This assertion is triggered if you try to delete a LookAndFeel object while something is still using it!
Fixed that by adding to the MelatoninInspector's destructor: