Commit 65f8a62040c87c1c58468c63bfa5e134c1fb5cc4

Nick Wellnhofer 2022-06-14T18:38:12

Fix reinitialization of library on Windows Reset the 'run_once' state in xmlCleanupThreads, so the global variables can be reinitialized later. While it's generally unsafe to call xmlCleanupParser and continue to use the library afterwards, this fix should avoid an outright crash if you do so on Windows. This should help with applications erroneously calling xmlCleanupParser. See #376.