It's absolutely legal to do so and the player totally depends on it, but it might still be interesting to know.
I'll leave this open as a placeholder to write an analyzer for doing bad things in finalizers, whatever they might be. possibly: * dereferencing another finalized object for anything except a null check (order of finalization is not specified) * forgetting to zero a non-smart pointer field
Summary: Write a dehydra analyzer that warns if you allocate memory from a finalizer, or call a function that might. → Write a dehydra analyzer that warns about dangerous or missing finalizer code
You need to log in before you can comment on or make changes to this bug.