The pre-exit code now vectors through extern "C" operations to make it simple to export symbols that must be shared from a DLL.
The default executor and possibly other components should do the same but are more complex because of late and platform-specific type erasure. Opening this issue to investigate a solution.