PopupMenuSection has leaked signal trackers after destruction
Another signal tracker leak I noticed when running
[...imports.misc.signalTracker.SignalManager.getDefault()._signalTrackers].forEach(([k,v]) => {log(`tracker for: ${k}`); log([...v._map.keys()]);})
after a suspend/resume cycle is that there are a few unremoved signal trackers from/to a PopupMenuSection
StBoxLayout
. The strange thing about this is that the StBoxLayout
has already been destroyed as is indicated by a gjs warning when trying to access those, so those should have been removed by the destroy
signal handler.
The PopupMenuSection
seems to be from the WiFi quick settings, because this issue does not trigger when disabling that. But it might not be specific to that and just happen due to this being the only one that gets destroyed and recreated during suspend/resume.
Among the signal trackers there is also a connection between this and a submenu StScrollView
which has already been destroyed as well.