Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: gc error caused by calls of the GLib.Bytes.unref_to_array #5

Merged
merged 1 commit into from Jul 27, 2023

Conversation

ncpa0cpl
Copy link
Collaborator

@ncpa0cpl ncpa0cpl commented Jul 27, 2023

It was discovered that calls of the GLib.Bytes.unref_to_array were leaving the underlying Bytes 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 the GLib.Bytes.toArray function instead, which should fix this issue.

@ncpa0cpl ncpa0cpl force-pushed the fix/gc-error branch 13 times, most recently from 3b135a0 to ae67312 Compare July 27, 2023 09:08
@ncpa0cpl ncpa0cpl merged commit 458defd into master Jul 27, 2023
1 check passed
@ncpa0cpl ncpa0cpl deleted the fix/gc-error branch July 27, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant