SmartReader
SmartReader copied to clipboard
Memory leak on undisposed doc within Reader
The Reader class creates a IHtmlDocument object which needs to be disposed of.
Workaround using reflection. (typeof(Reader).GetField("doc", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(reader) as IHtmlDocument)?.Dispose();
Thanks for the bug report. I am going to fix it this weekend.