There is no way to remove the icon from the tray. Internally the code is there, but there is no way to access it from the SystemTrayIconComponent class.
The intention was just that you’d create the comp when you want the icon, and delete it to get rid of it…
Oh, ok. I see that it is getting removed when the ComponentPeer is getting destroyed.