XamlAnimatedGif icon indicating copy to clipboard operation
XamlAnimatedGif copied to clipboard

Don't use the Unloaded event to dispose the stream

Open x000000 opened this issue 8 years ago • 2 comments

When we use a gif inside of TabControl it dispose stream upon tab change and when we switch tab back it won't load an animation.

x000000 avatar Apr 05 '16 22:04 x000000

Hi, thanks for the bug report. I'll look into it when I can, but I'm quite busy with other things, so I can't promise a quick fix.

thomaslevesque avatar Apr 20 '16 23:04 thomaslevesque

I think I've stumbled across this issue, or a very similar one, after setting CacheFramesInMemory and having the image visibility set to Hidden. It throws 4 System.ObjectDisposedException exceptions.

If I get a chance I'll have a look into the issue and submit a PR if I can work it out, but if you have any suggestions for where to start that would be helpful.

will-scc avatar Sep 29 '23 15:09 will-scc