GC.runFinalizers

Runs any finalizer that is located in address range of the given code segment. This is used before unloading shared libraries. All matching objects which have a finalizer in this code segment are assumed to be dead, using them while or after calling this method has undefined behavior.

struct GC
extern (C) pragma(mangle, "gc_runFinalizers") static
void
runFinalizers
(
const scope void[] segment
)

Parameters

segment void[]

address range of a code segment.

Meta