Add a markdown file (in an asp.net non-core web application, if that matters)
With the editor open, undo git changes
Output from Markdown Editor shows an ObjectDisposedException was thrown.
Current behavior
2019-03-01 13:09:38: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'WebBrowser'.
at System.Windows.Controls.WebBrowser.get_AxIWebBrowser2()
at System.Windows.Controls.WebBrowser.DoNavigate(Uri source, Object& targetFrameName, Object& postData, Object& headers, Boolean ignoreEscaping)
at System.Windows.Controls.WebBrowser.NavigateToStream(Stream stream)
at System.Windows.Controls.WebBrowser.NavigateToString(String text)
at MarkdownEditor.Browser.<>c__DisplayClass24_1.<UpdateBrowser>b__1() in C:\projects\markdowneditor\src\Margin\Browser.cs:line 276
at Logger.LogOnError(Action callback) in C:\projects\markdowneditor\src\Helpers\Logger.cs:line 43
Installed product versions
Description
Undoing git changes throws ObjectDisposedException
Steps to recreate
Current behavior
Expected behavior
Not getting an exception.