BubbleMessageComponent not deleted (using last tip)


#1

here are the steps to reproduce :

- open the juceDemo -> widgets demo -> buttons tab

- click on a button which opens a BubbleMessageComponent ("this is a demo of the BubbleMessageComponent….")

- quit the app while the bubble is still open

-> this will trigger the following assertion in ~Desktop:

jassert (desktopComponents.size() == 0);


Mess with BubbleMessageComponent class
#2

Thanks. Not a big deal - it's just the demo code not bothering to clean up, but I'll sort it out so it's a better example.


#3

This leak is back! (I haven't look at the cause though)


#4

Is it fine not using the stopTimer instruction in the BubbleMessageComponent ?


#5

I thought this got fixed earlier…

https://forum.juce.com/t/popupmenu-visible-quit-assertion

Rail