After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 595438 - Avoid crashing when switching profiles quickly
Avoid crashing when switching profiles quickly
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: gnome-volume-control
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-17 09:38 UTC by Bastien Nocera
Modified: 2009-09-17 13:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Avoid crashing when switching profiles quickly (3.34 KB, patch)
2009-09-17 09:39 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2009-09-17 09:38:57 UTC
When switching profiles quickly, we were getting callbacks
about old operations which we're not interested in, because
they don't match the latest requested profile.

So keep track of the last requested change, and cancel already
running operations when asking for a new profile.
Comment 1 Bastien Nocera 2009-09-17 09:39:00 UTC
Created attachment 143329 [details] [review]
Avoid crashing when switching profiles quickly
Comment 2 Bastien Nocera 2009-09-17 13:04:53 UTC
Attachment 143329 [details] pushed as 1c7dbbe - Avoid crashing when switching profiles quickly