data-device: Fix list corruption when the source goes away
If the data source is destroyed, the corresponding offers may stay around for a little longer (until the owning client destroys it). When the offer is finally destroyed, we have to be careful to only remove the source destroy listener if the source hasn't yet been destroyed. Thanks to Martin Minarik for tracking down where the corruption happened.
Loading
Please register or sign in to comment