Hi Guys,
What would be the cleanest way to close all external window before closing the main window ?
So far I'm doing this
while (juce::TopLevelWindow::getNumTopLevelWindows() > 1) { delete juce::TopLevelWindow::getTopLevelWindow(1); }
but was wondering if this is the right way to do it.
Thanks,