GNOME Bugzilla – Bug 700958
Cancelling 'Add account' dialog causes criticals/warnings
Last modified: 2013-06-04 10:35:19 UTC
When in the 'Add account' dialog of the user panel, if click 'Add' and then cancel, I get an abort. Steps to Reproduce: 1. User panel 2. Unlock 3. [+] 4. Enterprise login 5. Domain: blah.com, User: auou, Password: onuto 6: Add 7: Cancel (while spinner) (gnome-control-center:6040): user-accounts-cc-panel-CRITICAL **: um_realm_manager_discover_finish: assertion `UM_IS_REALM_MANAGER (self)' failed ** user-accounts-cc-panel:ERROR:um-account-dialog.c:724:on_realm_discover_input: assertion failed: (realms != NULL) (gdb) bt
+ Trace 231983
Created attachment 245239 [details] [review] After the add account dialog is cancelled, discard results When closing the dialog, we cancel the cancellable, but don't wait for all the async calls to complete before closing the dialog so discard results when they come in.