diff --git a/Perspex.Animation/Animate.cs b/Perspex.Animation/Animate.cs index 266585a13f..1deb8e3061 100644 --- a/Perspex.Animation/Animate.cs +++ b/Perspex.Animation/Animate.cs @@ -34,7 +34,10 @@ namespace Perspex.Animation { Stopwatch = new Stopwatch(); Stopwatch.Start(); - Timer = Observable.Interval(Tick, PerspexScheduler.Instance).Select(_ => Stopwatch.Elapsed); + Timer = Observable.Interval(Tick, PerspexScheduler.Instance) + .Select(_ => Stopwatch.Elapsed) + .Publish() + .RefCount(); } ///