One minute
Compromise in code
Today I encountered another wild animal while surfing in the jungle. Pretty much nothing to comment 🙂
if (visiblePath == null)
{
visiblePath = new DispatcherTimer();
visiblePath.Tick -= new EventHandler(visiblePath_Tick);
visiblePath.Tick += new EventHandler(visiblePath_Tick);
visiblePath.Interval = TimeSpan.FromSeconds(500);
}
else
{
visiblePath.Tick -= new EventHandler(visiblePath_Tick);
visiblePath.Tick += new EventHandler(visiblePath_Tick);
}
visiblePath.Stop();
visiblePath.Start();