-
fix: gc error caused by calls of the
GLib.Bytes.unref_to_array
(#5)It was discovered that calls of the
GLib.Bytes.unref_to_array
were leaving the underlyingBytes
object in a state that was causing GC to fail when trying to free up the memory taken by it. All the instances where this function was used have been updated to use theGLib.Bytes.toArray
function instead, which should fix this issue.