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

object: Trace vfunc trampolines

Previously these trampolines were leaked, and the JS functions they
pointed to were treated as weak pointers. We still have to leak the
trampoline structs themselves, because the GType's vtable still refers to
them.

However, we can tie the JS functions to the lifetime of the prototype
and trace them during garbage collection, which will become required in
SpiderMonkey 38 when they can be moved around during GC.

https://bugzilla.gnome.org/show_bug.cgi?id=776966
parent 7e19a0c7
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