I am experiencing a problem with TooltipWindow.
I have created a tootipwindow in my plugin, but when I am inserting more than a single instance in a Cubase song, I am getting assertions when closing Cubase.
The first assertion is there :
// doh! If you don't delete all your windows before exiting, you're going to
// be leaking memory!
jassert (desktopComponents.size() == 0);
I am analysing the problem this way : while having mutiple instances, there is a single desktop.
When closing the first instance, the first tooltip window is deleted, but there is still the second instance TooltipWindow lying on the desktop.
Under the debugger I really got the impression that the first instance deletion destroys the Desktop.
Am I wrong ? How could I solve this problem ?
P.S. I am using Juce 1.46