You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 2, 2021. It is now read-only.
The parameter GifImage.IterationCount has currently no effect.
Expection is, when set to x the animation will run for x times and then stop.
For example change MainWindow.xaml in AvaloniaGif.Demo Line 16 and add gif:GifImage.IterationCount="5"
Start the Demo and chose an image. The animation will start immediately but will not stop after 5 iterations.
If set an exception occurs after a while:
System.InvalidOperationException
HResult=0x80131509
Message=Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
Source=System.Private.CoreLib
StackTrace:
at System.ThrowHelper.ThrowInvalidOperationException_ConcurrentOperationsNotSupported()
at System.Collections.Generic.Dictionary2.FindEntry(TKey key) at System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value)
at Avalonia.Rendering.DirtyVisuals.Add(IVisual visual)
at AvaloniaGif.GifInstance.RenderTick(TimeSpan time) in AvaloniaGif-master\AvaloniaGif\GifInstance.cs:line 79
at Avalonia.Rendering.DefaultRenderTimer.InternalTick(TimeSpan tickCount)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The parameter GifImage.IterationCount has currently no effect.
Expection is, when set to x the animation will run for x times and then stop.
For example change MainWindow.xaml in AvaloniaGif.Demo Line 16 and add gif:GifImage.IterationCount="5"
Start the Demo and chose an image. The animation will start immediately but will not stop after 5 iterations.
If set an exception occurs after a while:
System.InvalidOperationException
HResult=0x80131509
Message=Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
Source=System.Private.CoreLib
StackTrace:
at System.ThrowHelper.ThrowInvalidOperationException_ConcurrentOperationsNotSupported()
at System.Collections.Generic.Dictionary
2.FindEntry(TKey key) at System.Collections.Generic.Dictionary
2.TryGetValue(TKey key, TValue& value)at Avalonia.Rendering.DirtyVisuals.Add(IVisual visual)
at AvaloniaGif.GifInstance.RenderTick(TimeSpan time) in AvaloniaGif-master\AvaloniaGif\GifInstance.cs:line 79
at Avalonia.Rendering.DefaultRenderTimer.InternalTick(TimeSpan tickCount)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
The text was updated successfully, but these errors were encountered: