GNOME Bugzilla – Bug 672003
Reference GjsCallbackTrampoline during callbacks to JS
Last modified: 2012-03-13 17:03:50 UTC
When we are calling back to Javascript, keep the GjsCallbackTrampoline object alive for the duration of the call, since we need to use information from to process the return value even if the callback is removed during the callback. (This actually matters only for GI_SCOPE_TYPE_NOTIFIED, but we reference in all cases for simplicity.)
Created attachment 209617 [details] [review] Reference GjsCallbackTrampoline during callbacks to JS
Review of attachment 209617 [details] [review]: need to use information from to ^ it I assume you noticed this because you were reading a crash dump or something, can you at least link to it here? I like to have links to real-world problems if they exist.
see bug 643014 comment 15
Pushed with the commit message fix and a link to other bug. Attachment 209617 [details] pushed as 63632ac - Reference GjsCallbackTrampoline during callbacks to JS