07-04-2019, 12:22 AM
(07-03-2019, 01:54 PM)takyon_dg Wrote: I'm also setting the XMLDoc to nil after Active := False, which I now imagine will address the leak/'orphaned' threads.
That had nothing to do with your orphaned thread issue. It was simply a bug in your code related to how you manage COM objects.