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
Change the regular weak reference in a custodian, which allows
`will-executor`-based finalization, to a "late" weakk reference, which
allows both `will-executor` and `register-finalizer` finalization.
Closesracket#3352
maueroats
pushed a commit
to maueroats/racket
that referenced
this issue
Jun 17, 2021
Refine the approach in 91abd02 so that it's only used when needed
to work for the combination of custodian management and unsafe
finalization.
Also, improve the documentation to clarify the constraints on
`register-finalize` due to its implementation in CS by ordered
finalization. This constraint is also reflected in a new `#:ordered?`
argument to `register-custodian-shutdown`. Any existing code that uses
`register-custodian-shutdown` plus `register-finalizer` directly
instead of `register-finalizer-and-custodian-shutdown` would need to
be updated for Racket CS, but code like that should be rare to
nonexistent.
Closesracket#3352
What version of Racket are you using?
7.8 [cs]
What program did you run?
What should have happened?
Running either submodule should run the
finalize
procedure. This works in 7.8[bc] but not 7.8[cs].Racket 7.8[cs]
Racket 7.8[bc] - works
Please include any other relevant details
Linux 5.4.0-42-generic x86_64
Ubuntu 20.04.1 LTS
Racket 7.8[cs] installed from Racket Linux Installer
The text was updated successfully, but these errors were encountered: