mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
When BitmapCacheOption.None is used, icons will not be loaded from the stream until they are needed to be displayed. In this case, the icon loading will be triggered when the text box is rendered from the UI thread. However by that time the steam object will have already been disposed. This results in no icons being visibile. The fix is to eager load the icons while the stream is still alive. An alterntive fix would be to defer disposing the stream to a later time or not dispose it at all.pull/2595/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue