Merge "Track libxml2 API changes."

This commit is contained in:
Sadaf Ebrahimi
2022-05-11 21:07:48 +00:00
committed by Gerrit Code Review

View File

@@ -63,11 +63,8 @@ struct Libxml2Global {
xmlSetGenericErrorFunc(this, errorCb);
}
~Libxml2Global() {
// TODO: check if all those cleanup are needed
xmlSetGenericErrorFunc(nullptr, nullptr);
xmlSchemaCleanupTypes();
xmlCleanupParser();
xmlCleanupThreads();
}
const std::string& getErrors() { return errors; }