Skip to content
Commit 48a13bfa authored by Philip Chimento's avatar Philip Chimento
Browse files

keep-alive: Update hash keys when objects move

The garbage collector can change the locations of objects. Since we use
the object pointer as part of the hash function for the keep-alive hash
table, an object moving would invalidate the hash table key. Therefore,
we remove and reinsert each key if tracing changed the pointer's
location.

https://bugzilla.gnome.org/show_bug.cgi?id=776966
parent bb16545b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment