This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
As a consequence of the forced specialization on the `RT` argument of `signal_emit` in #552, the compiler now knows whether `RT === Nothing`. In that case, it also knows that `return_value` will not be used, so it is free to be garbage-collected. When that happens, it triggers segfaults. This puts both potential `GValue`-arguments inside a `GC.@preserve` to prevent garbage collection. Fixes #581.
- Loading branch information
d28f725
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
d28f725
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/50052
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: