Skip to content

status/network: Disconnect signal handler on destroy in NMConnectionItem

Otherwise this can trigger _sync() calls after the objects it is trying to update have been destroyed.


See #1704 (comment 1070296) and #4013 (closed). I couldn't test this locally though , because I don't have multiple networks available to switch between and trigger this.

I think this should work to trigger the bug (not sure if all steps are necessary though):

  1. connect to wifi
  2. open status menu
  3. enable airplane mode
  4. enable wifi again
  5. open status menu
  6. switch to a different wifi network
Edited by Sebastian Keller

Merge request reports