You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, pkg/core/glib.Value does not have the extra layer of indirection
that other structs have for finalizing, and as a result, dereferencing a Value
upon construction will cause it to be finalized early.
typeValuestruct {
gvalue C.GValue
}
funcNewValue(vinterface{}) *Valuev:=*NewValue("string")
// Underlying value might be finalized.
The text was updated successfully, but these errors were encountered:
Right now,
pkg/core/glib.Value
does not have the extra layer of indirectionthat other structs have for finalizing, and as a result, dereferencing a
Value
upon construction will cause it to be finalized early.
The text was updated successfully, but these errors were encountered: